?? devinst.inf
字號:
; A:\DevInst.inf
;
; Created by GenINF.
;
;
[Version]
Signature = "$Windows NT$"
Class=System
ClassGUID={4d36e97d-e325-11ce-bfc1-08002be10318}
;Class=MjtsaiDriver
;ClassGuid={894A7460-A033-11d2-821E-444519740507}
Provider=%mjtsai%
CatalogFile=MyCat.cat
DriverVer= 8/1/2003, 1.0.0.1
[DestinationDirs]
PseudoDriver.Files.x86_12 = 12
[SourceDisksNames.x86]
0=%Desc_x860%
[SourceDisksNames.ia64]
[SourceDisksFiles.x86]
PseudoDrv.sys=0,,
[SourceDisksFiles.ia64]
[Manufacturer]
%mjtsai%=mjtsai
[mjtsai]
%PseudoDriverDesc%=PseudoDriver_Inst,*PseudoDvc20030801
[PseudoDriver_Inst.ntx86]
CopyFiles = PseudoDriver.Files.x86_12
[PseudoDriver_Inst.ntx86.Services]
AddService = PseudoDrv,0x00000002,PseudoDriver_Service_Instx86,
[PseudoDriver_Service_Instx86]
ServiceType = %SERVICE_KERNEL_DRIVER%
StartType = %SERVICE_DEMAND_START%
ErrorControl = %SERVICE_ERROR_IGNORE%
ServiceBinary = %12%\PseudoDrv.sys
[PseudoDriver.Files.x86_12]
PseudoDrv.sys
[PseudoDriver_EventLog_Inst]
AddReg = PseudoDriver_EventLog_Inst.AddReg
[PseudoDriver_EventLog_Inst.AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll"
HKR,,TypesSupported,%REG_DWORD%,7
[Strings]
; *******Localizable Strings*******
mjtsai= "MjtsaiCorp"
Desc_x860= "MjtsaiCorp Systemdrivers"
PseudoDriverDesc= "Virtual Device 1.0.0.1 for IOCTL Demo"
; *******Non Localizable Strings*******
SERVICE_BOOT_START = 0x0
SERVICE_SYSTEM_START = 0x1
SERVICE_AUTO_START = 0x2
SERVICE_DEMAND_START = 0x3
SERVICE_DISABLED = 0x4
SERVICE_KERNEL_DRIVER = 0x1
SERVICE_ERROR_IGNORE = 0x0
SERVICE_ERROR_NORMAL = 0x1
SERVICE_ERROR_SEVERE = 0x2
SERVICE_ERROR_CRITICAL = 0x3
REG_EXPAND_SZ = 0x00020000
REG_DWORD = 0x00010001
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -