;-------------------------------------------------------------------------------
; ddwinusb.inf
;
; DirectDisplay WinUSB Device driver installation file
;
; Copyright (c) OSBASE L.L.C. 2012-2014  All rights reserved.
[Version]
Signature = "$Windows NT$"
Class     = DirectDisplay
ClassGUID = {4e89306c-7c38-439c-bb36-c2c57b2dcedd}
Provider = "Hewlett-Packard"
CatalogFile.ntamd64 = ddwinusbx64.cat
CatalogFile.ntx86 = ddwinusbx86.cat
DriverVer=11/03/2014,1.0.0.8
DriverPackageType=PlugAndPlay
DriverPackageDisplayName="HP L2311c USB Graphics Driver"

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

[ClassInstall32]
Addreg=DirectDisplayClassReg

[DirectDisplayClassReg]
HKR,,,0,%ClassName%
HKR,,Icon,,"-1"

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

[Manufacturer]
%ManufacturerName% = Osbase, ntx86

[Osbase.ntx86]
"HP L2311c UFX7000 USB Graphics"=USB_Install, USB\VID_03F0&PID_0247

; =================== Installation ===================

[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT

[USB_Install.Services]
Include=winusb.inf
AddService=WinUsb,0x00000002,WinUsb_ServiceInstall

[WinUsb_ServiceInstall]
DisplayName     = %WinUsb_SvcDesc%
ServiceType     = 1
StartType       = 3
ErrorControl    = 1
ServiceBinary   = %12%\WinUSB.sys

[USB_Install.Wdf]
KmdfService=WINUSB, WinUsb_Install

[WinUsb_Install]
KmdfLibraryVersion=1.9

[USB_Install.HW]
AddReg=Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{b24c3ab6-ee85-48ad-870d-e02500891409}"
HKR,,DisplayDriverName,0x00010000,"mchpufx.dll"

[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles

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

[CoInstallers_CopyFiles]
WinUsbCoInstaller2.dll
WdfCoInstaller01009.dll
mchpufx.dll

[DestinationDirs]
CoInstallers_CopyFiles=11

; ================= Source Media Section =====================

[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
WinUsbCoInstaller2.dll=1
WdfCoInstaller01009.dll=1
mchpufx.dll=1

; =================== Strings ===================

[Strings]
ClassName="DirectDisplay"
ManufacturerName="Hewlett-Packard"
DiskName="USB Installation Disk"
WinUsb_SvcDesc="WinUSB Driver"
DeviceName="DirectDisplay Devices"
