;/*++
;
;Copyright (c) Microsoft Corporation.  All rights reserved.
;
;   THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
;   KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
;   IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
;   PURPOSE.
;
;Module Name:
;
;    BTUSBx64.INF
;
;Abstract:
;    Installation inf for the Bitel POS
;
;--*/

[Version]
Signature="$WINDOWS NT$"
Class=USB
ClassGuid={36FC9E60-C465-11CF-8056-444553540000}
Provider=%MSFT%
DriverVer=05/20/2016,6.1.7600.16385
CatalogFile=BTUSBx64.cat


; ================= Class section =====================

[ClassInstall32]
Addreg=SampleClassReg     

[SampleClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,-5

[DestinationDirs]
DefaultDestDir = 12

; ================= Device section =====================

[Manufacturer]
%MfgName%=Bitel,NTAMD64

; For Win2K
[Bitel]
%USB\VID_5345&PID_1234.DeviceDesc%=BTUSBx64.Dev, USB\VID_5345&PID_1234

; For XP and later
[Bitel.NTAMD64]
%USB\VID_5345&PID_1234.DeviceDesc%=BTUSBx64.Dev, USB\VID_5345&PID_1234

[BTUSBx64.Dev.NT]
CopyFiles=BTUSBx64.Files.Ext

[BTUSBx64.Dev.NT.Services]
Addservice = BTUSBx64, 0x00000002, BTUSBx64.AddService

[BTUSBx64.AddService]
DisplayName    = %BTUSBx64.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\BTUSBx64.sys
AddReg         = BTUSBx64.AddReg
LoadOrderGroup = Base

[BTUSBx64.AddReg]
HKR,"Parameters","MaximumTransferSize",0x10001,65536
HKR,"Parameters","DebugLevel",0x10001,2

[BTUSBx64.Files.Ext]
BTUSBx64.sys

[SourceDisksNames]
1=%Disk_Description%,,,

[SourceDisksFiles]
BTUSBx64.sys = 1

;-------------- WDF Coinstaller installation
[DestinationDirs]
CoInstaller_CopyFiles = 11

[BTUSBx64.Dev.NT.CoInstallers]
AddReg=CoInstaller_AddReg
CopyFiles=CoInstaller_CopyFiles

[CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[SourceDisksFiles]
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[BTUSBx64.Dev.NT.Wdf]
KmdfService = BTUSBx64, BTUSBx64_wdfsect

[BTUSBx64_wdfsect]
KmdfLibraryVersion = 1.9

;---------------------------------------------------------------;

[Strings]
MSFT            = "Bitel"
MfgName         = "Bitel"
Disk_Description= "USB Downloader Driver for Bitel POS"
BTUSBx64.SvcDesc = "BTUSBx64.sys, Bitel USB Driver (x64)"
ClassName       = "Bitel Device"
USB\VID_5345&PID_1234.DeviceDesc="Bitel USB Driver (x64)"


