;--------------------------------------------------------------------------
; winusbtpv.inf
; Copyright (c) 2008 Total Phase Inc.
;
; This INF file is used to setup Total Phase devices to use
; the WinUSB driver on Vista.  It is based off the sample INF file
; discussed in the WinUSB How To document.
;--------------------------------------------------------------------------

[Version]
Signature   = "$Windows NT$"
Class       = USB
ClassGUID   = {36fc9e60-c465-11cf-8056-444553540000}
Provider    = %TotalPhase%
CatalogFile = winusbtpv.cat
DriverVer   = 04/17/2008,1.7


;--------------------------------------------------------------------------
; Manufacturer/Models
;--------------------------------------------------------------------------

[Manufacturer]
%TotalPhase% = Devices, NTx86, NTamd64

[Devices.NTx86]
%USB\VID_1679&PID_2001.DeviceDesc% = USB_Install, USB\VID_1679&PID_2001
%USB\VID_1679&PID_2002.DeviceDesc% = USB_Install, USB\VID_1679&PID_2002

[Devices.NTamd64]
%USB\VID_1679&PID_2001.DeviceDesc% = USB_Install, USB\VID_1679&PID_2001
%USB\VID_1679&PID_2002.DeviceDesc% = USB_Install, USB\VID_1679&PID_2002


;--------------------------------------------------------------------------
; 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.7

[USB_Install.HW]
AddReg = Dev_AddReg

[Dev_AddReg]
HKR,,DeviceInterfaceGUIDs,0x10000,"{163B6EBA-8205-4f4d-BBD1-3756F15D6328}"

[USB_Install.CoInstallers]
AddReg    = CoInstallers_AddReg
CopyFiles = CoInstallers_CopyFiles

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

[CoInstallers_CopyFiles]
WinUSBCoInstaller.dll
WdfCoInstaller01007.dll

[DestinationDirs]
CoInstallers_CopyFiles = 11

;--------------------------------------------------------------------------
; Source Media Section
;--------------------------------------------------------------------------

[SourceDisksNames]
1 = %DriversDisk%,,,\i386
2 = %DriversDisk%,,,\amd64

[SourceDisksFiles.x86]
WinUSBCoInstaller.dll   = 1
WdfCoInstaller01007.dll = 1

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

;--------------------------------------------------------------------------
; Strings
;--------------------------------------------------------------------------

[Strings]
TotalPhase                       = "Total Phase, Inc."
Desc                             = "Total Phase Driver Package"
DriversDisk                      = "Total Phase Driver Installation Disk"
USB\VID_1679&PID_2001.DeviceDesc = "Total Phase Beagle Protocol Analyzer"
USB\VID_1679&PID_2002.DeviceDesc = "Total Phase Cheetah Host Adapter"
WinUSB_SvcDesc                   = "WinUSB Driver"
