;
; hidscanner.inf
;

[Version]
Signature="$Windows NT$"
Class=BarcodeScanner
ClassGuid={C243FFBD-3AFC-45E9-B3D3-2BA18BC7EBC5}
Provider=%ManufacturerName%
DriverVer = 06/21/2006,10.0.20348.1

[SourceDisksNames]
3426= windows cd

[SourceDisksFiles]
hidscanner.dll=3426

[DestinationDirs]
UMDriverCopy=12,UMDF ; copy to drivers\umdf
DefaultDestDir=12

; =================== Manufacturer/Models sections =======================

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%DeviceName%=BarcodeScanner_Install, HID_DEVICE_UP:008C_U:0002

; =================== UMDF Device ==================================

[BarcodeScanner_Install.NT]
CopyFiles=UMDriverCopy

[BarcodeScanner_Install.NT.HW]

[BarcodeScanner_Install.NT.Services]
AddService=WUDFRd,0x000001fa,WUDFRD_ServiceInstall

[BarcodeScanner_Install.NT.Wdf]
UmdfService=hidscanner,UMDFBarcodeScanner_Install
UmdfServiceOrder=hidscanner
UmdfImpersonationLevel=Delegation
UmdfDirectHardwareAccess=AllowDirectHardwareAccess
UmdfHostProcessSharing=ProcessSharingDisabled
UmdfFileObjectPolicy=AllowNullAndUnknownFileObjects
UmdfKernelModeClientPolicy=AllowKernelModeClients
UmdfMethodNeitherAction=Copy

; =================== UMDF Service Install section ===================

[UMDFBarcodeScanner_Install]
UmdfLibraryVersion=2.15.0 
ServiceBinary=%12%\UMDF\hidscanner.dll
UmdfExtensions=PosCx0102

[WUDFRD_ServiceInstall]
DisplayName = %WudfRdDisplayName%
ServiceType = 1
StartType = 3
ErrorControl = 1
ServiceBinary = %12%\WUDFRd.sys
LoadOrderGroup = Base

[UMDriverCopy]
hidscanner.dll,,,0x100 ;COPYFLG_PROTECTED_WINDOWS_DRIVER_FILE

; =================== Generic ==================================

[Strings]
ManufacturerName="Microsoft"
WudfRdDisplayName="Windows Driver Foundation - User-mode Driver Framework Reflector"
DeviceName="POS HID Barcode scanner"
