📄 usbdrv.inf
字号:
; USBDrv.inf
;For win98&win2k
;--------- Version Section ---------------------------------------------------
[Version]
LayoutFile= Layout.inf, Layout1.inf, Layout2.inf
Signature="$CHICAGO$"
Provider=%ProviderName%
Class=加密设备
ClassGUID={ff646f81-8def-11d2-9449-00105a075f6b}
DriverVer=07/28/2006 2.0
;--------- SourceDiskNames and SourceDiskFiles Section -----------------------
; These sections identify source disks and files for installation. They are
; shown here as an example, but commented out.
[SourceDisksNames]
1 = "SDT Driver Disk","",,
[SourceDisksFiles]
USBDrv.sys = 1,,
[SourceDiskFiles.NT]
USBDrv.sys = 1,,
;--------- ClassInstall/ClassInstall32 Section -------------------------------
; Not necessary if using a standard class
; 9X Style
[ClassInstall]
Addreg=Class_AddReg
; NT Style
[ClassInstall32.NT]
Addreg=Class_AddReg
[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"0"
;--------- DestinationDirs Section -------------------------------------------
[DestinationDirs]
USBDrv_Files_Driver = 10,System32\Drivers
;--------- Manufacturer and Models Sections ----------------------------------
[Manufacturer]
%MfgName%=Mfg0
[Mfg0]
%DeviceDesc%=USBDrv_DDI, USB\VID_0400&PID_c35a
;---------- DDInstall Sections -----------------------------------------------
; --------- Windows 9X -----------------
; Experimentation has shown that DDInstall root names greater than 19 characters
; cause problems in Windows 98
[USBDrv_DDI]
CopyFiles=USBDrv_Files_Driver
AddReg=USBDrv_9X_AddReg
;Reboot
[USBDrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,USBDrv.sys
; --------- Windows NT -----------------
[USBDrv_DDI.NT]
CopyFiles=USBDrv_Files_Driver
;Reboot
[USBDrv_DDI.NT.Services]
Addservice = USBDrv, 0x00000002, USBDrv_AddService
[USBDrv_AddService]
DisplayName = %SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\System32\Drivers\USBDrv.sys
LoadOrderGroup = Base
; --------- Files (common) -------------
[USBDrv_Files_Driver]
USBDrv.sys,,,2
;--------- Strings Section ---------------------------------------------------
[Strings]
ProviderName="SDT"
MfgName="SDT Telecom"
DeviceDesc="SDT USB设备"
DeviceClassName="密码设备"
SvcDesc="USBDrv.Sys WDM USB client"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -