; -----------------------------------------------------------------------------
;
; Stellaris Generic Bulk USB device driver installer
;
; This INF file may be used as a template when creating customized applications
; based on the Luminary generic bulk devices. Areas of the file requiring
; customization for a new device are commented with NOTEs.
;
; -----------------------------------------------------------------------------

; NOTE: When you customize this INF for your own device, create a new class
; name (Class) and a new GUID (ClassGuid). GUIDs may be created using the
; guidgen tool from Windows Visual Studio.

[Version]
Signature = "$Windows NT$"
Class = StellarisBulkDeviceClass
ClassGuid={F5450C06-EB58-420e-8F98-A76C5D4AFB18}
Provider = %ProviderName%
CatalogFile=MyCatFile.cat
DriverVer=07/31/2008,1.1.2

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

[Manufacturer]
%ProviderName% = StellarisBulkDevice_WinUSB,NTx86,NTamd64

; NOTE: Replace the VID and PID in the following two sections with the
; correct values for your device.

[StellarisBulkDevice_WinUSB.NTx86]
%USB\StellarisBulkDevice.DeviceDesc% =USB_Install, USB\VID_1CBE&PID_0003

[StellarisBulkDevice_WinUSB.NTamd64]
%USB\StellarisBulkDevice.DeviceDesc% =USB_Install, USB\VID_1CBE&PID_0003

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

[ClassInstall32]
AddReg=AddReg_ClassInstall

[AddReg_ClassInstall]
HKR,,,,"%DeviceClassDisplayName%"
HKR,,Icon,,"-20"

[USB_Install]
Include=winusb.inf
Needs=WINUSB.NT
CopyFiles=@lmusbdll.dll
CopyFiles=@lmusbdll.lib

[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.5

[USB_Install.HW]
AddReg=Dev_AddReg

; NOTE: Create a new GUID for your interface and replace the following one
; when customizing for a new device.

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{6E45736A-2B1B-4078-B772-B3AF2B6FDE1C}"

[USB_Install.CoInstallers]
AddReg=CoInstallers_AddReg
CopyFiles=CoInstallers_CopyFiles

[CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"WdfCoInstaller01005.dll,WdfCoInstaller","WinUSBCoInstaller.dll"

[CoInstallers_CopyFiles]
WinUSBCoInstaller.dll
WdfCoInstaller01005.dll

[DestinationDirs]
CoInstallers_CopyFiles=11
DefaultDestDir=11

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

[SourceDisksNames]
1 = %DISK_NAME%,,,\i386
2 = %DISK_NAME%,,,\amd64
3 = %DISK_NAME%,,

[SourceDisksFiles.x86]
WinUSBCoInstaller.dll=1
WdfCoInstaller01005.dll=1
lmusbdll.dll=3
lmusbdll.lib=3

[SourceDisksFiles.amd64]
WinUSBCoInstaller.dll=2
WdfCoInstaller01005.dll=2

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

; Note: Replace these as appropriate to describe your device.

[Strings]
ProviderName="Texas Instruments Inc."
USB\StellarisBulkDevice.DeviceDesc="Generic Bulk Device"
WinUSB_SvcDesc="WinUSB"
DISK_NAME="Stellaris Install Disk"
DeviceClassDisplayName="Stellaris Bulk Devices"

