;; UsbTouch.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 NT5DDK documentation contains an excellent INF reference.

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

[Version]
Signature="$Windows 95$"
Provider=%ProviderName%

; If device fits one of the standard classes, use the
; name and GUID here, otherwise create your own as
; this example shows.

Class=USBTouchControllerClass
;ClassGUID={ff646f80-8def-11d2-9449-00105a075f6b}
ClassGUID={4A10879A-DA38-43bc-83D5-12E78877B7F6}


;--------- 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]
;usbtouch.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,,"-20"

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

[DestinationDirs]
usbtouch_Files_Driver = 10,System32\Drivers

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

[Manufacturer]
%MfgName%=Mfg0

[Mfg0]
%DeviceDesc%=usbtouch_DDI, USB\VID_0123&PID_0001
%DeviceDesc%=usbtouch_DDI, USB\VID_3823&PID_0001
%DeviceDesc%=usbtouch_DDI, USB\VID_3823&PID_0002
%DeviceDesc%=usbtouch_DDI, USB\VID_0EEF&PID_0001
%DeviceDesc%=usbtouch_DDI, USB\VID_0EEF&PID_0002


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

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

[usbtouch_DDI]
CopyFiles=usbtouch_Files_Driver
AddReg=usbtouch_9X_AddReg

[usbtouch_9X_AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,usbtouch.sys
HKR, "Parameters", "BreakOnEntry", 0x00010001, 0

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

[usbtouch_DDI.NT]
CopyFiles=usbtouch_Files_Driver
AddReg=usbtouch_NT_AddReg

[usbtouch_DDI.NT.Services]
Addservice = usbtouch, 0x00000002, usbtouch_AddService

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

[usbtouch_NT_AddReg]
HKLM, "System\CurrentControlSet\Services\usbtouch\Parameters",\
	"BreakOnEntry", 0x00010001, 0

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

[UsbDwavTouch_Files_Driver]
usbtouch.sys

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

[Strings]
ProviderName="ATouch Technologies Co., Ltd."
MfgName="ATouch Technologies Co., Ltd"
DeviceDesc="ATouch USB Controller for Touchscreen"
DeviceClassName="ATouch USB Controller "
SvcDesc=" ATouch USB Controller for Touchscreen"
