;; Usbdrv.inf

;; *********  PLEASE READ ***********
;; The wizard cannot create exact INF files for all buses and device types.
;; You may have to make changes to this file in order to get your device to
;; install. In particular, hardware IDs and logical configurations require
;; intervention.
;;
;; The Windows DDK documentation contains an excellent INF reference.

;--------- Version Section ---------------------------------------------------

[Version]
Signature="$Windows 95$"
Provider=%ProviderName%
DriverVer   = 04/24/2003, 1.10.0.0
; If device fits one of the standard classes, use the name and GUID here,
; otherwise create your own device class and GUID as this example shows.

Class=Unknown
ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b}

;--------- 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 = "Install Disk",Disk1,,

;[SourceDisksFiles]
;Usbdrv.sys = 1,,
;mp310.dll = 1,,

;--------- ClassInstall/ClassInstall32 Section -------------------------------

; Not necessary if using a standard class

; 9X Style
[ClassInstall]
Addreg=Class_AddReg

; NT Style
[ClassInstall32]
Addreg=Class_AddReg

[Class_AddReg]
HKR,,,,%DeviceClassName%
HKR,,Icon,,"-18"

;--------- DestinationDirs Section -------------------------------------------

[DestinationDirs]
Usbdrv_Files_Driver = 10,System32\Drivers
;--------- DestinationDirs Section -------------------------------------------


;--------- Manufacturer and Models Sections ----------------------------------

[Manufacturer]
%MfgName%=Mfg0

[Mfg0]
%DeviceDesc%=Usbdrv_DDI, USB\VID_0547&PID_1002

;---------- 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

[Usbdrv_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Usbdrv.sys
HKR, "Parameters", "BreakOnEntry", 0x00010001, 0

; --------- Windows NT -----------------

[Usbdrv_DDI.NT]
CopyFiles=Usbdrv_Files_Driver
AddReg=Usbdrv_NT_AddReg

[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

[Usbdrv_NT_AddReg]
HKLM, "System\CurrentControlSet\Services\Usbdrv\Parameters",\
	"BreakOnEntry", 0x00010001, 0


; --------- Files (common) -------------

[Usbdrv_Files_Driver]
Usbdrv.sys

;--------- Strings Section ---------------------------------------------------

[Strings]
;ProviderName="Your Company Name here"
;MfgName="Name of HW Manufacturer here"
;DeviceDesc="Description of Device here"
;DeviceClassName="Description of Usbdrv Device class here"
;SvcDesc="Description of Usbdrv NT service here"

ProviderName="DSignal Inc."
MfgName="WWlab"
DeviceDesc="WWlab USB A/D Box"
DeviceClassName="WWlab AD card"
SvcDesc="WWLAB USB NT service"