;/////////////////////////////////////////////////////////////////////////////////////
; Thrustmaster TRS Racing wheel : Bulk driver
;
; Version 1.160
; 
; © Guillemot Corporation, 2011.  All rights reserved.
;/////////////////////////////////////////////////////////////////////////////////////

[Version]
Signature="$Chicago$"
Provider=%MfgName%
Class=HIDClass
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
DriverVer=02/15/2011,1.1.6.0
CatalogFile=tmtrsbulk.cat

;--------- SourceDiskNames and SourceDiskFiles Section -----------------------
[SourceDisksNames]
1 = "Install Disk",Disk1,,

[SourceDisksFiles.x86]
tmbulk.sys = 1,\x86
WdfCoInstaller01009.dll = 1,\x86

[SourceDisksFiles.amd64]
tmbulk.sys = 1,\amd64
WdfCoInstaller01009.dll = 1,\amd64

;--------- DestinationDirs Section -------------------------------------------

[DestinationDirs]
Bulk_Files_Driver = 10,System32\Drivers
BulkDevice_CoInstaller_CopyFiles = 11

;--------- Manufacturer and Models Sections ----------------------------------

[Manufacturer]
%MfgName%=Mfg0,NTx86.5.1, NTamd64.5.1, NTx86.6.0, NTamd64.6.0, NTx86.6.1, NTamd64.6.1

[Mfg0.NTx86.5.1]
%DeviceDesc%=Bulk_DDI, USB\VID_044f&PID_B65F

[Mfg0.NTamd64.5.1]
%DeviceDesc%=Bulk_DDI, USB\VID_044f&PID_B65F

[Mfg0.NTx86.6.0]
%DeviceDesc%=Bulk_DDI, USB\VID_044f&PID_B65F

[Mfg0.NTamd64.6.0]
%DeviceDesc%=Bulk_DDI, USB\VID_044f&PID_B65F

[Mfg0.NTx86.6.1]
%DeviceDesc%=Bulk_DDI, USB\VID_044f&PID_B65F

[Mfg0.NTamd64.6.1]
%DeviceDesc%=Bulk_DDI, USB\VID_044f&PID_B65F

; --------- Windows NTx86 -----------------

[Bulk_DDI.NTx86]
CopyFiles=Bulk_Files_Driver

[Bulk_DDI.NTx86.Services]
Addservice = tmbulk, 0x00000002, Bulk_AddService, Bulk_NT_LogInst

[Bulk_AddService]
DisplayName    = %SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\tmbulk.sys
AddReg=Bulk_NT_AddReg

[Bulk_NT_AddReg]
HKR, "Parameters","BreakOnEntry", 0x00010001, 0
HKR, "Parameters\WDF","ForceLogsInMiniDump", 0x00010001, 1 

[Bulk_NT_LogInst]
AddReg = Bulk_NT_LogAddReg

[Bulk_NT_LogAddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\tmbulk.sys"
HKR,,TypesSupported,%REG_DWORD%,7

; --------- Windows NTamd64 -----------------

[Bulk_DDI.NTamd64]
CopyFiles=Bulk_Files_Driver

[Bulk_DDI.NTamd64.Services]
Addservice = tmbulk, 0x00000002, Bulk_AddService, Bulk_NT_LogInst

; --------- Files (common) -------------

[Bulk_Files_Driver]
tmbulk.sys

;
;--- Bulk NTx86 Device Co-installer installation ------
;
[Bulk_DDI.NTx86.CoInstallers]
AddReg=BulkDevice_CoInstaller_AddReg
CopyFiles=BulkDevice_CoInstaller_CopyFiles

[Bulk_DDI.NTx86.Wdf]
KmdfService = tmbulk, BulkDevice_wdfsect
[BulkDevice_wdfsect]
KmdfLibraryVersion = 1.9

;
;--- Bulk NTamd64 Device Co-installer installation ------
;
[Bulk_DDI.NTamd64.CoInstallers]
AddReg=BulkDevice_CoInstaller_AddReg
CopyFiles=BulkDevice_CoInstaller_CopyFiles

[Bulk_DDI.NTamd64.Wdf]
KmdfService = tmbulk, BulkDevice_wdfsect
[BulkDevice_wdfsect]
KmdfLibraryVersion = 1.9

;
;--- Bulk Common Device Co-installer installation ------
;
[BulkDevice_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[BulkDevice_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll


;--------- Strings Section ---------------------------------------------------

[Strings]
DeviceDesc="Thrustmaster TRS Racing wheel Bulk Driver"
MfgName="Thrustmaster"
SvcDesc="Thrustmaster Series Bulk Driver (tmbulk)"