;; Usb_bulk.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 NT$"

; 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=USB
;ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b}
ClassGUID={3230d9a3-cf66-4cde-b9d0-846a206be7ec}
Provider=%ProviderName%


;--------- 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]
usb_bulk.sys = 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,,"127"

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

[DestinationDirs]
Usb_bulk_Files_Driver = 10,System32\Drivers

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

[Manufacturer]
%MfgName%=Mfg0

[Mfg0]
%DeviceDesc%=Usb_bulk_DDI, USB\VID_801c&PID_a4a5

;---------- DDInstall Sections -----------------------------------------------
; --------- Windows 9X -----------------

; Experimentation has shown that DDInstall root names greater than 19 characters
; cause problems in Windows 98

[Usb_bulk_DDI]
CopyFiles=Usb_bulk_Files_Driver
AddReg=Usb_bulk_9X_AddReg

[Usb_bulk_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usb_bulk.sys
HKR, "Parameters", "BreakOnEntry", 0x00010001, 0
; --------- Windows NT -----------------

[Usb_bulk_DDI.NT]
CopyFiles=Usb_bulk_Files_Driver
AddReg=Usb_bulk_NT_AddReg

[Usb_bulk_DDI.NT.Services]
Addservice = Usb_bulk, 0x00000002, Usb_bulk_AddService

[Usb_bulk_AddService]
DisplayName    = %SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\usb_bulk.sys

[Usb_bulk_NT_AddReg]
HKLM, "System\CurrentControlSet\Services\Usb_bulk\Parameters",\
	"BreakOnEntry", 0x00010001, 0



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

[Usb_bulk_Files_Driver]
usb_bulk.sys

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

[Strings]
ProviderName="HISENSE ICE"
MfgName="HICE"
DeviceDesc="海信智能商用设备-税控器"
DeviceClassName="Gadget Serial"
SvcDesc="Usb_bulk_Service"
