; POSUSB.INF
; 
; Copyright ?2000-2015 Future Technology Devices International Limited
;
; USB port driver installation file for Windows 2000, XP, Server 2003, Vista, Server 2008,
; Windows 7 Windows 8 and Server 2008 R2 (x86 and x64).
; 

[Strings]
DeviceName = "PAX POS"
VendorName = "PAX"
SourceName = "PAX POS Install Disk"
DeviceID   = "VID_3890&PID_0101"
DeviceGUID = "{4881F929-B61B-4519-AFE3-F7D8CA7BF708}"

[Version]
Signature   = "$Windows NT$"
Class       = "PAX POS Devices"
ClassGuid   = {A5DCBF10-6530-11D2-901F-00C04FB951ED}
Provider    = "PAX POS"
DriverVer   = 06/15/2015, 1.3.0.0
catalogfile = posusb.cat

[ClassInstall32]
Addreg = libusb_class_install_add_reg

[libusb_class_install_add_reg]
HKR,,,0,"PAX POS Devices"
HKR,,Icon,,-20

[Manufacturer]
%VendorName% = Devices, NT, NTAMD64, NTIA64

[SourceDisksNames]
1 = %SourceName%

[SourceDisksFiles.x86]
libusb0.sys     = 1,x86

[SourceDisksFiles.amd64]
libusb0.sys     = 1,amd64

[SourceDisksFiles.ia64]
libusb0.sys     = 1,ia64

[DestinationDirs]
libusb_files_sys       = 10,system32\drivers

[libusb_files_sys]
libusb0.sys

[LIBUSB_WIN32_DEV.NT]
CopyFiles = libusb_files_sys

[LIBUSB_WIN32_DEV.NTAMD64]
CopyFiles = libusb_files_sys

[LIBUSB_WIN32_DEV.NTIA64]
CopyFiles = libusb_files_sys

[LIBUSB_WIN32_DEV.NT.HW]
DelReg = libusb_del_reg_hw
AddReg = libusb_add_reg_hw

[LIBUSB_WIN32_DEV.NTAMD64.HW]
DelReg = libusb_del_reg_hw
AddReg = libusb_add_reg_hw

[LIBUSB_WIN32_DEV.NTIA64.HW]
DelReg = libusb_del_reg_hw
AddReg = libusb_add_reg_hw

[LIBUSB_WIN32_DEV.NT.Services]
AddService = libusb0, 0x00000002, libusb_add_service

[LIBUSB_WIN32_DEV.NTAMD64.Services]
AddService = libusb0, 0x00000002, libusb_add_service

[LIBUSB_WIN32_DEV.NTIA64.Services]
AddService = libusb0, 0x00000002, libusb_add_service

[libusb_del_reg_hw]
HKR,,LowerFilters
HKR,,UpperFilters

[libusb_add_reg_hw]
HKR,,SurpriseRemovalOK,0x00010001,1

[libusb_add_service]
DisplayName   = "PAX POS Devices - Kernel Driver"
ServiceType   = 1
StartType     = 3
ErrorControl  = 0
ServiceBinary = %12%\libusb0.sys

[Devices]
%DeviceName% = LIBUSB_WIN32_DEV, USB\%DeviceID%

[Devices.NT]
%DeviceName% = LIBUSB_WIN32_DEV.NT, USB\%DeviceID%

[Devices.NTAMD64]
%DeviceName% = LIBUSB_WIN32_DEV.NTAMD64, USB\%DeviceID%

[Devices.NTIA64]
%DeviceName% = LIBUSB_WIN32_DEV.NTIA64, USB\%DeviceID%
