;/////////////////////////////////////////////////////////////////////////////////////
; Hercules DJ Controller
;
; Version 4.12
; 
; © Guillemot Corporation, 2019.  All rights reserved.
;/////////////////////////////////////////////////////////////////////////////////////

[Version]
Signature="$CHICAGO$"
Provider=%MfgName%
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
DriverVer=11/07/2019,4.1.2.0
CatalogFile=herculesdjmp3.cat

;--------- SourceDiskNames and SourceDiskFiles Section -----------------------
[SourceDisksNames]
100=%Disk1Name%,,

[SourceDisksFiles.x86]
WdfCoInstaller01009.dll = 100,\x86
HDJAsioK.sys = 100,\x86
HDJBulk.sys = 100,\x86
HDJMidi.sys = 100,\x86
HDJCtrl.sys = 100,\x86
hdjcprop.dll = 100,\x86

[SourceDisksFiles.amd64]
WdfCoInstaller01009.dll = 100,\amd64
hdjcprop.dll = 100,\x86
HDJAsioK.sys = 100,\amd64
HDJBulk.sys = 100,\amd64
HDJMidi.sys = 100,\amd64
HDJCtrl.sys = 100,\amd64
hdjcprop64.dll = 100,\amd64

[DestinationDirs]
DJCtrl_CopyFiles_NT = 10,System32\Drivers
DJCtrl_CopyFiles_W32 = 10,System32
DJCtrl_CopyFiles_W32_64 = 10,SysWOW64
DJCtrl_CopyFiles_W64 = 10,System32
DJCtrlDevice_CoInstaller_CopyFiles = 11

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

[Manufacturer]
%MfgName%=Hercules,NTx86,NTamd64

[Hercules.NTx86]
%DeviceDesc%=DJCtrl_DDI, USB\VID_06f8&PID_d000&MI_00
%DeviceDesc%=DJCtrl_DDI, USB\VID_06f8&PID_d001&MI_00

[Hercules.NTamd64]
%DeviceDesc%=DJCtrl_DDI, USB\VID_06f8&PID_d000&MI_00
%DeviceDesc%=DJCtrl_DDI, USB\VID_06f8&PID_d001&MI_00

;---------- DDInstall Sections -----------------------------------------------
; --------- Windows NT -----------------

[DJCtrl_DDI.NTx86]
Include = Input.inf
Needs   = HID_Inst.NTx86
CopyFiles=DJCtrl_CopyFiles_NT,DJCtrl_CopyFiles_W32
AddReg=PROP_NT_AddReg

[DJCtrl_DDI.NTamd64]
Include = Input.inf
Needs   = HID_Inst.NTamd64
CopyFiles=DJCtrl_CopyFiles_NT,DJCtrl_CopyFiles_W32_64,DJCtrl_CopyFiles_W64
AddReg=PROP_NT_AddReg

[PROP_NT_AddReg]
HKR,,EnumPropPages32,,"hdjcprop.dll,HDJCPropPageProvider"

[DJCtrl_CopyFiles_NT]
HDJAsioK.sys
HDJBulk.sys
HDJMidi.sys
HDJCtrl.sys

[DJCtrl_CopyFiles_W32]
hdjcprop.dll

[DJCtrl_CopyFiles_W32_64]
hdjcprop.dll

[DJCtrl_CopyFiles_W64]
hdjcprop.dll,hdjcprop64.dll,,

[DJCtrl_DDI.NTx86.HW]
AddReg = DJCtrl_NT_AddReg_HW

[DJCtrl_DDI.NTamd64.HW]
AddReg = DJCtrl_NT_AddReg_HW

[DJCtrl_NT_AddReg_HW]
HKR,,"LowerFilters",0x00010008,HDJCtrl

[DJCtrl_DDI.NTx86.Services]
Include = Input.inf
Needs   = HID_Inst.NT.Services
Addservice = HDJCtrl,,DJCtrl_AddService

[DJCtrl_DDI.NTamd64.Services]
Include = Input.inf
Needs   = HID_Inst.NT.Services
Addservice = HDJCtrl,,DJCtrl_AddService

[DJCtrl_AddService]
DisplayName    = %SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\HDJCtrl.sys
LoadOrderGroup = extended base

;
;--- Console NTx86 Device Co-installer installation ------
;
[DJCtrl_DDI.NTx86.CoInstallers]
AddReg=DJCtrlDevice_CoInstaller_AddReg
CopyFiles=DJCtrlDevice_CoInstaller_CopyFiles

[DJCtrl_DDI.NTx86.Wdf]
KmdfService = HDJCtrl, DJCtrlDevice_wdfsect

;
;--- Console MK2 NTx86 Device Co-installer installation ------
;
[DJCtrl_DDI.NTamd64.CoInstallers]
AddReg=DJCtrlDevice_CoInstaller_AddReg
CopyFiles=DJCtrlDevice_CoInstaller_CopyFiles

[DJCtrl_DDI.NTamd64.Wdf]
KmdfService = HDJCtrl, DJCtrlDevice_wdfsect

[DJCtrlDevice_wdfsect]
KmdfLibraryVersion = 1.9

;
;--- kernel driver Common Device Co-installer installation ------
;
[DJCtrlDevice_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[DJCtrlDevice_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

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

[Strings]
MfgName="Guillemot Corporation"
DeviceDesc="Hercules DJ Control MP3"
SvcDesc="Hercules DJ Control MP3 Service"
Disk1Name="Hercules DJ Control MP3 Driver CD 1"
