USBDrv.inf 2.32 KB
   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
; 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"