⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 smscir.inf

📁 ir 驱动程序源代码,make成功了,有兴趣的朋友可以看看
💻 INF
字号:
;/*++
;Abstract:
;    INF file for installing the SMSC CIRCC2 device
;
;
;--*/
[Version]
Signature="$WINDOWS NT$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=SMSC
CatalogFile=smscir.cat
DriverVer=10/25/2006

[DestinationDirs]
DefaultDestDir = 12
IR_CoInstaller_CopyFiles = 11

[SourceDisksNames.x86]
1 = %DiskId1%,,,\i386

[SourceDisksNames.amd64]
1 = %DiskId1%,,,\amd64

[SourceDisksNames.ia64]
1 = %DiskId1%,,,\ia64

[SourceDisksFiles]
smscir.sys  = 1,,
CIRCoInst.dll = 1,,

[Manufacturer]
%StdMfg%=Standard,NTx86, NTia64, NTamd64

[Standard]
%smscir.DeviceDesc%=smscir_Device, *SMCB0C0

[Standard.NTx86]
%smscir.DeviceDesc%=smscir_Device, *SMCB0C0

[Standard.NTia64]
%smscir.DeviceDesc%=smscir_Device, *SMCB0C0

[Standard.NTamd64]
%smscir.DeviceDesc%=smscir_Device, *SMCB0C0

[smscir_Device.NT]
CopyFiles=Drivers_Dir

[smscir_Device.NT.HW]
AddReg=smscir_Device.NT.AddReg

[smscir_Device.NT.AddReg]                            
HKR,,DeviceCharacteristics,0x10001,0x0100         ; Use same security checks on relative opens
HKR,,Security,,"D:P(A;;GA;;;BA)(A;;GA;;;SY)"      ; Allow generic-all access to Built-in administrators and Local system 

[Drivers_Dir]
smscir.sys

;-------------- Service installation
[smscir_Device.NT.Services]
AddService = smscir,%SPSVCINST_ASSOCSERVICE%, smscir_Service_Inst

; -------------- smscir driver install sections
[smscir_Service_Inst]
DisplayName    = %smscir.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START 
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\smscir.sys
LoadOrderGroup = Extended Base
AddReg         = smscir_Device.NT.AddReg.Services


[smscir_Device.NT.AddReg.Services]
; Active power Key (set to NOCLOBBER)
HKR,"PowerKey","PowerKey",0x00000003,\
   0x2b, 0x2b, 0x80, 0x0f, 0x00, 0x03, 0x0c, \
   0x04, 0x80, 0x0c, 0x00, 0x00, 0xff, 0x00, \
   0x00, 0x00, 0x00

; RC6 power key
HKR,"PowerKey","PowerKeyRC6",0x00000001,\
   0x2b, 0x2b, 0x80, 0x0f, 0x00, 0x03, 0x0c, \
   0x04, 0x80, 0x0c, 0x00, 0x00, 0xff, 0x00, \
   0x00, 0x00, 0x00

; RC5 power key
HKR,"PowerKey","PowerKeyRC5",0x00000001,\
   0x2b, 0x58, 0x00, 0x00, 0x00, 0x02, 0xf0, \
   0x0c, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, \
   0x00, 0x00, 0x00

; NEC power key
HKR,"PowerKey","PowerKeyNEC",0x00000001,\
   0x29, 0x37, 0x45, 0xba, 0x12, 0x80, 0x00, \
   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
   0x00, 0x00, 0x00

;
;--- smscir_Device Coinstaller installation ------
;
[smscir_Device.NT.CoInstallers]
AddReg=IR_CoInstaller_AddReg
CopyFiles=IR_CoInstaller_CopyFiles

[IR_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010008, "CIRCoInst.dll,IRCoInstaller"

[IR_CoInstaller_CopyFiles]
CIRCoInst.dll

[smscir_Device.NT.WdfSection]
USE_WDF_DYNAMIC
COMPONENTS = WdfDynam


[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
MSFT = "Microsoft"
StdMfg = "SMSCIR Devices"
DiskId1 = "SMSCIR Installation Disk #1"
smscir.DeviceDesc = "SMSCIR Infrared Receiver"
smscir.SVCDESC = "SMSCIR Infrared Receiver"

	

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -