;/////////////////////////////////////////////////////////////////////////////////////
; Hercules DJ Console - Midi driver
;
; Version 5.48
; 
; © Guillemot Corporation, 2019.  All rights reserved.
;/////////////////////////////////////////////////////////////////////////////////////

[Version]
signature="$CHICAGO$"
Class=DJHerculesMixDevices
ClassGuid={495E6797-4D1F-4ad5-87EF-6D577B0EC443}
Provider=%CSMfgName%
DriverVer=11/27/2019,5.4.8.0
CatalogFile=herculesdj.cat

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

[Hercules.NTx86]
%DJMidi_DeviceName%=DJMidi, USB\VID_06F8&PID_b000&MI_04
%DJMidi2_DeviceName%=DJMidi2, USB\VID_06F8&PID_b100&MI_04
%DJMidiRMX_DeviceName%=DJMidiRMX, USB\VID_06F8&PID_b101&MI_04
%DJMidiSteel_DeviceName%=DJMidiSteel, USB\VID_06F8&PID_b102&MI_01
%DJMidiC_DeviceName%=DJMidic, USB\VID_06F8&PID_d000&MI_02
%DJMidiC_DeviceName%=DJMidic, USB\VID_06F8&PID_d001&MI_02
%DJMIDIC2009_DeviceName%=DJMidic2009, USB\VID_06F8&PID_b105&MI_01
%DJMidiMk4_DeviceName%=DJMidiMk4, USB\VID_06F8&PID_b107&MI_05
%DJMidi4MX_DeviceName%=DJMidi4MX, USB\VID_06F8&PID_b109&MI_05
%DJMidi4MX_DeviceName%=DJMidi4MX, USB\VID_06F8&PID_b10a&MI_05
%DJMidi4SET_DeviceName%=DJMidi4SET, USB\VID_06F8&PID_b10c&MI_05
%DJMidi4SET_DeviceName%=DJMidi4SET, USB\VID_06F8&PID_b10d&MI_05
%DJMidiMP3LE_DeviceName%=DJMidiMP3LE, USB\VID_06F8&PID_b114&MI_01
%DJMidiMP3Glow_DeviceName%=DJMidiMP3Glow, USB\VID_06F8&PID_b120&MI_01

[Hercules.NTamd64]
%DJMidi_DeviceName%=DJMidi, USB\VID_06F8&PID_b000&MI_04
%DJMidi2_DeviceName%=DJMidi2, USB\VID_06F8&PID_b100&MI_04
%DJMidiRMX_DeviceName%=DJMidiRMX, USB\VID_06F8&PID_b101&MI_04
%DJMidiSteel_DeviceName%=DJMidiSteel, USB\VID_06F8&PID_b102&MI_01
%DJMidiC_DeviceName%=DJMidic, USB\VID_06F8&PID_d000&MI_02
%DJMidiC_DeviceName%=DJMidic, USB\VID_06F8&PID_d001&MI_02
%DJMIDIC2009_DeviceName%=DJMidic2009, USB\VID_06F8&PID_b105&MI_01
%DJMidiMk4_DeviceName%=DJMidiMk4, USB\VID_06F8&PID_b107&MI_05
%DJMidi4MX_DeviceName%=DJMidi4MX, USB\VID_06F8&PID_b109&MI_05
%DJMidi4MX_DeviceName%=DJMidi4MX, USB\VID_06F8&PID_b10a&MI_05
%DJMidi4SET_DeviceName%=DJMidi4SET, USB\VID_06F8&PID_b10c&MI_05
%DJMidi4SET_DeviceName%=DJMidi4SET, USB\VID_06F8&PID_b10d&MI_05
%DJMidiMP3LE_DeviceName%=DJMidiMP3LE, USB\VID_06F8&PID_b114&MI_01
%DJMidiMP3Glow_DeviceName%=DJMidiMP3Glow, USB\VID_06F8&PID_b120&MI_01

[SourceDisksNames]
1 = %SourceDiskName%,,

[SourceDisksFiles.x86]
HDJAsioK.sys = 1,\x86
HDJBulk.sys = 1,\x86
HDJMidi.sys = 1,\x86
HDJCtrl.sys = 1,\x86
DJHerculesMixDevices.dll = 1,\x86
;HDJSAPI.dll = 1,\x86
;HDJAPI.dll = 1,\x86
;HRFDongle.dll = 1,\x86

[SourceDisksFiles.amd64]
HDJAsioK.sys = 1,\amd64
HDJBulk.sys = 1,\amd64
HDJMidi.sys = 1,\amd64
HDJCtrl.sys = 1,\amd64
DJHerculesMixDevices.dll = 1,\amd64
;HDJSAPI.dll = 1,\x86
;HDJAPI.dll = 1,\x86
;HRFDongle.dll = 1,\x86
;HDJAPI64.dll = 1,\amd64
;HRFDongle64.dll = 1,\amd64

[DestinationDirs]
DJMidi.CopyDriver = 10,system32\drivers 
DJHerculesMixDevicesInstallerCopyFiles = 11
;DJMidi_CopyFiles_W32 = 10,System32
;DJMidi_CopyFiles_W32_64 = 10,SysWOW64
;DJMidi_CopyFiles_W64 = 10,System32

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

[ClassInstall32]
Addreg=DJHerculesMixDevicesReg     
CopyFiles=DJHerculesMixDevicesInstallerCopyFiles

[DJHerculesMixDevicesReg]
HKR,,,0,%ClassName%
HKR,,Icon,,100
HKR,,Installer32,,"DJHerculesMixDevices.dll,DJHerculesMixDevicesInstaller"

[DJHerculesMixDevicesInstallerCopyFiles]
DJHerculesMixDevices.dll

; =================== NTx86 ========================
[DJMidi.NTx86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidi.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidi.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidi.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidi.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidi.Interface.DMus1

[DJMidi.NTx86.Services]
AddService=HDJMidi,2,DJMidi_ServiceInstall

[DJMidi_ServiceInstall]
DisplayName=%DJMidi_DeviceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\HDJMidi.sys
AddReg=DJMidi_AddReg

[DJMidi_AddReg]
HKR, "Parameters","DJCONSOLE_PRODUCT_CODE", 0x00010001, 1

[DJMidi2.NTx86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidi2.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidi2.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidi2.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidi2.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidi2.Interface.DMus1

[DJMidi2.NTx86.Services]
AddService=HDJMidi,2,DJMidi2_ServiceInstall

[DJMidi2_ServiceInstall]
DisplayName=%DJMidi2_DeviceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\HDJMidi.sys
AddReg=DJMidi2_AddReg

[DJMidi2_AddReg]
HKR, "Parameters","DJCONSOLE2_PRODUCT_CODE", 0x00010001, 1

[DJMidic.NTx86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidic.AddReg
CopyFiles=DJMidi.CopyDriver
;,DJMidi_CopyFiles_W32

[DJMidic.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidic.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidic.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidic.Interface.DMus1

[DJMidic.NTx86.Services]
AddService=HDJMidi,2,DJMidic_ServiceInstall

[DJMidic_ServiceInstall]
DisplayName=%DJMidiC_DeviceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\HDJMidi.sys
AddReg=DJMidic_AddReg

[DJMidic_AddReg]
HKR, "Parameters","DJCONTROLLER_PRODUCT_CODE", 0x00010001, 1

[DJMidic2009.NTx86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidic2009.AddReg
CopyFiles=DJMidi.CopyDriver
;,DJMidi_CopyFiles_W32

[DJMidic2009.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidic2009.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidic2009.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidic2009.Interface.DMus1

[DJMidic2009.NTx86.Services]
AddService=HDJMidi,2,DJMidic2009_ServiceInstall

[DJMidic2009_ServiceInstall]
DisplayName=%DJMidiC2009_DeviceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\HDJMidi.sys
AddReg=DJMidic2009_AddReg

[DJMidic2009_AddReg]
HKR, "Parameters","DJCONTROLLER_2009_PRODUCT_CODE", 0x00010001, 1

[DJMidiMk4.NTx86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidiMk4.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidiMk4.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidiMk4.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidiMk4.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidiMk4.Interface.DMus1

[DJMidiMk4.NTx86.Services]
AddService=HDJMidi,2,DJMidiMk4_ServiceInstall

[DJMidiMk4_ServiceInstall]
DisplayName=%DJMidiMk4_DeviceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\HDJMidi.sys
AddReg=DJMidiMk4_AddReg

[DJMidiMk4_AddReg]
HKR, "Parameters","DJCONSOLEMK4_PRODUCT_CODE", 0x00010001, 1

[DJMidiRMX.NTx86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidiRMX.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidiRMX.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidiRMX.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidiRMX.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidiRMX.Interface.DMus1

[DJMidiRMX.NTx86.Services]
AddService=HDJMidi,2,DJMidiRMX_ServiceInstall

[DJMidiRMX_ServiceInstall]
DisplayName=%DJMidiRMX_DeviceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\HDJMidi.sys
AddReg=DJMidiRMX_AddReg

[DJMidiRMX_AddReg]
HKR, "Parameters","DJCONSOLERMX_PRODUCT_CODE", 0x00010001, 1

[DJMidi4MX.NTx86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidi4MX.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidi4MX.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidi4MX.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidi4MX.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidi4MX.Interface.DMus1

[DJMidi4MX.NTx86.Services]
AddService=HDJMidi,2,DJMidi4MX_ServiceInstall

[DJMidi4MX_ServiceInstall]
DisplayName=%DJMidi4MX_DeviceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\HDJMidi.sys
AddReg=DJMidi4MX_AddReg

[DJMidi4MX_AddReg]
HKR, "Parameters","DJCONSOLE4MX_PRODUCT_CODE", 0x00010001, 1

[DJMidi4SET.NTx86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidi4SET.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidi4SET.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidi4SET.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidi4SET.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidi4SET.Interface.DMus1

[DJMidi4SET.NTx86.Services]
AddService=HDJMidi,2,DJMidi4SET_ServiceInstall

[DJMidi4SET_ServiceInstall]
DisplayName=%DJMidi4SET_DeviceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\HDJMidi.sys
AddReg=DJMidi4SET_AddReg

[DJMidi4SET_AddReg]
HKR, "Parameters","DJCONSOLE4SET_PRODUCT_CODE", 0x00010001, 1

[DJMidiMP3LE.NTx86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidiMP3LE.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidiMP3LE.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidiMP3LE.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidiMP3LE.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidiMP3LE.Interface.DMus1

[DJMidiMP3LE.NTx86.Services]
AddService=HDJMidi,2,DJMidiMP3LE_ServiceInstall

[DJMidiMP3LE_AddReg]
HKR, "Parameters","DJCONTROL_MP3_LE_PRODUCT_CODE", 0x00010001, 1

[DJMidiMP3LE_ServiceInstall]
DisplayName=%DJMidiMP3LE_DeviceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\HDJMidi.sys
AddReg=DJMidiMP3LE_AddReg

[DJMidiMP3Glow.NTx86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidiMP3Glow.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidiMP3Glow.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidiMP3Glow.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidiMP3Glow.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidiMP3Glow.Interface.DMus1

[DJMidiMP3Glow.NTx86.Services]
AddService=HDJMidi,2,DJMidiMP3Glow_ServiceInstall

[DJMidiMP3Glow_AddReg]
HKR, "Parameters","DJCONTROL_GLOW_PRODUCT_CODE", 0x00010001, 1

[DJMidiMP3Glow_ServiceInstall]
DisplayName=%DJMidiMP3Glow_DeviceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\HDJMidi.sys
AddReg=DJMidiMP3Glow_AddReg

[DJMidiSteel.NTx86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidiSteel.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidiSteel.NTx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidiSteel.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidiSteel.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidiSteel.Interface.DMus1

[DJMidiSteel.NTx86.Services]
AddService=HDJMidi,2,DJMidiSteel_ServiceInstall

[DJMidiSteel_ServiceInstall]
DisplayName=%DJMidiSteel_DeviceName%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%12%\HDJMidi.sys
AddReg=DJMidiSteel_AddReg

[DJMidiSteel_AddReg]
HKR, "Parameters","DJCONTROLSTEEL_PRODUCT_CODE", 0x00010001, 1

[DJMidi.CopyDriver]
HDJAsioK.sys
HDJBulk.sys
HDJMidi.sys
HDJCtrl.sys

;[DJMidi_CopyFiles_W32]
;HDJSAPI.dll
;HDJAPI.dll
;HRFDongle.dll

;[DJMidi_CopyFiles_W32_64]
;HDJSAPI.dll
;HDJAPI.dll
;HRFDongle.dll

;[DJMidi_CopyFiles_W64]
;HDJAPI.dll,HDJAPI64.dll,,
;HRFDongle.dll,HRFDongle64.dll,,

; =================== NTamd64 ========================
[DJMidi.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidi.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidi.NTamd64.HW]
AddReg=FilterInject

[DJMidi.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidi.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidi.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidi.Interface.DMus1

[DJMidi.NTamd64.Services]
AddService=HDJMidi,2,DJMidi_ServiceInstall

[DJMidi2.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidi2.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidi2.NTamd64.HW]
AddReg=FilterInject

[DJMidi2.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidi2.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidi2.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidi2.Interface.DMus1

[DJMidi2.NTamd64.Services]
AddService=HDJMidi,2,DJMidi2_ServiceInstall

[DJMidic.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidic.AddReg
CopyFiles=DJMidi.CopyDriver
;,DJMidi_CopyFiles_W32_64,DJMidi_CopyFiles_W64

[DJMidic.NTamd64.HW]
AddReg=FilterInject

[DJMidic.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidic.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidic.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidic.Interface.DMus1

[DJMidic.NTamd64.Services]
AddService=HDJMidi,2,DJMidic_ServiceInstall

[DJMidic2009.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidic2009.AddReg
CopyFiles=DJMidi.CopyDriver
;,DJMidi_CopyFiles_W32_64,DJMidi_CopyFiles_W64

[DJMidic2009.NTamd64.HW]
AddReg=FilterInject

[DJMidic2009.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidic2009.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidic2009.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidic2009.Interface.DMus1

[DJMidic2009.NTamd64.Services]
AddService=HDJMidi,2,DJMidic2009_ServiceInstall

[DJMidiMk4.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidiMk4.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidiMk4.NTamd64.HW]
AddReg=FilterInject

[DJMidiMk4.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidiMk4.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidiMk4.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidiMk4.Interface.DMus1

[DJMidiMk4.NTamd64.Services]
AddService=HDJMidi,2,DJMidiMk4_ServiceInstall

[DJMidiRMX.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidiRMX.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidiRMX.NTamd64.HW]
AddReg=FilterInject

[DJMidiRMX.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidiRMX.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidiRMX.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidiRMX.Interface.DMus1

[DJMidiRMX.NTamd64.Services]
AddService=HDJMidi,2,DJMidiRMX_ServiceInstall

[DJMidi4MX.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidi4MX.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidi4MX.NTamd64.HW]
AddReg=FilterInject

[DJMidi4MX.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidi4MX.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidi4MX.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidi4MX.Interface.DMus1

[DJMidi4MX.NTamd64.Services]
AddService=HDJMidi,2,DJMidi4MX_ServiceInstall

[DJMidi4SET.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidi4SET.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidi4SET.NTamd64.HW]
AddReg=FilterInject

[DJMidi4SET.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidi4SET.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidi4SET.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidi4SET.Interface.DMus1

[DJMidi4SET.NTamd64.Services]
AddService=HDJMidi,2,DJMidi4SET_ServiceInstall

[DJMidiMP3LE.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidiMP3LE.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidiMP3LE.NTamd64.HW]
AddReg=FilterInject

[DJMidiMP3LE.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidiMP3LE.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidiMP3LE.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidiMP3LE.Interface.DMus1

[DJMidiMP3LE.NTamd64.Services]
AddService=HDJMidi,2,DJMidiMP3LE_ServiceInstall

[DJMidiMP3Glow.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidiMP3Glow.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidiMP3Glow.NTamd64.HW]
AddReg=FilterInject

[DJMidiMP3Glow.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidiMP3Glow.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidiMP3Glow.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidiMP3Glow.Interface.DMus1

[DJMidiMP3Glow.NTamd64.Services]
AddService=HDJMidi,2,DJMidiMP3Glow_ServiceInstall

[DJMidiSteel.NTamd64]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=DJMidiSteel.AddReg
CopyFiles=DJMidi.CopyDriver

[DJMidiSteel.NTamd64.HW]
AddReg=FilterInject

[DJMidiSteel.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus1%,DJMidiSteel.Interface.DMus1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus1%,DJMidiSteel.Interface.DMus1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_DMus1%,DJMidiSteel.Interface.DMus1

[DJMidiSteel.NTamd64.Services]
AddService=HDJMidi,2,DJMidiSteel_ServiceInstall

; ==================== general audio feature ====================
[FilterInject]
HKR,,UpperFilters,0x00010008,ksthunk

[DJMidi.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,HDJMidi.sys
HKR,,NTMPDriver,,"HDJMidi.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"midi,mixer"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%DJMidi_DeviceName%

[DJMidi.Interface.DMus1]
AddReg=DJMidi.Interface.DMus1.AddReg

[DJMidi.Interface.DMus1.AddReg]
HKR,,CLSID,,%MSProxy.CLSID%
HKR,,FriendlyName,,%DJMidi_DeviceName%

[DJMidi2.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,HDJMidi.sys
HKR,,NTMPDriver,,"HDJMidi.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"midi,mixer"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%DJMidi2_DeviceName%


[DJMidi2.Interface.DMus1]
AddReg=DJMidi2.Interface.DMus1.AddReg

[DJMidi2.Interface.DMus1.AddReg]
HKR,,CLSID,,%MSProxy.CLSID%
HKR,,FriendlyName,,%DJMidi2_DeviceName%

[DJMidic.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,HDJMidi.sys
HKR,,NTMPDriver,,"HDJMidi.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"midi,mixer"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%DJMidiC_DeviceName%

[DJMidic.Interface.DMus1]
AddReg=DJMidic.Interface.DMus1.AddReg

[DJMidic.Interface.DMus1.AddReg]
HKR,,CLSID,,%MSProxy.CLSID%
HKR,,FriendlyName,,%DJMidiC_DeviceName%

[DJMidic2009.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,HDJMidi.sys
HKR,,NTMPDriver,,"HDJMidi.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"midi,mixer"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%DJMidiC2009_DeviceName%

[DJMidic2009.Interface.DMus1]
AddReg=DJMidic2009.Interface.DMus1.AddReg

[DJMidic2009.Interface.DMus1.AddReg]
HKR,,CLSID,,%MSProxy.CLSID%
HKR,,FriendlyName,,%DJMidiC2009_DeviceName%

[DJMidiMk4.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,HDJMidi.sys
HKR,,NTMPDriver,,"HDJMidi.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"midi,mixer"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%DJMidiMk4_DeviceName%

[DJMidiMk4.Interface.DMus1]
AddReg=DJMidiMk4.Interface.DMus1.AddReg

[DJMidiMk4.Interface.DMus1.AddReg]
HKR,,CLSID,,%MSProxy.CLSID%
HKR,,FriendlyName,,%DJMidiMk4_DeviceName%

[DJMidiRMX.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,HDJMidi.sys
HKR,,NTMPDriver,,"HDJMidi.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"midi,mixer"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%DJMidiRMX_DeviceName%

[DJMidiRMX.Interface.DMus1]
AddReg=DJMidiRMX.Interface.DMus1.AddReg

[DJMidiRMX.Interface.DMus1.AddReg]
HKR,,CLSID,,%MSProxy.CLSID%
HKR,,FriendlyName,,%DJMidiRMX_DeviceName%

[DJMidi4MX.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,HDJMidi.sys
HKR,,NTMPDriver,,"HDJMidi.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"midi,mixer"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%DJMidi4MX_MIDIName%

[DJMidi4MX.Interface.DMus1]
AddReg=DJMidi4MX.Interface.DMus1.AddReg

[DJMidi4MX.Interface.DMus1.AddReg]
HKR,,CLSID,,%MSProxy.CLSID%
HKR,,FriendlyName,,%DJMidi4MX_MIDIName%

[DJMidi4SET.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,HDJMidi.sys
HKR,,NTMPDriver,,"HDJMidi.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"midi,mixer"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%DJMidi4SET_MIDIName%

[DJMidi4SET.Interface.DMus1]
AddReg=DJMidi4SET.Interface.DMus1.AddReg

[DJMidi4SET.Interface.DMus1.AddReg]
HKR,,CLSID,,%MSProxy.CLSID%
HKR,,FriendlyName,,%DJMidi4SET_MIDIName%

[DJMidiMP3LE.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,HDJMidi.sys
HKR,,NTMPDriver,,"HDJMidi.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"midi,mixer"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%DJMidiMP3LE_DeviceName%

[DJMidiMP3LE.Interface.DMus1]
AddReg=DJMidiMP3LE.Interface.DMus1.AddReg

[DJMidiMP3LE.Interface.DMus1.AddReg]
HKR,,CLSID,,%MSProxy.CLSID%
HKR,,FriendlyName,,%DJMidiMP3LE_DeviceName%

[DJMidiMP3Glow.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,HDJMidi.sys
HKR,,NTMPDriver,,"HDJMidi.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"midi,mixer"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%DJMidiMP3Glow_DeviceName%

[DJMidiMP3Glow.Interface.DMus1]
AddReg=DJMidiMP3Glow.Interface.DMus1.AddReg

[DJMidiMP3Glow.Interface.DMus1.AddReg]
HKR,,CLSID,,%MSProxy.CLSID%
HKR,,FriendlyName,,%DJMidiMP3Glow_DeviceName%

[DJMidiSteel.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,HDJMidi.sys
HKR,,NTMPDriver,,"HDJMidi.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"midi,mixer"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%DJMidiSteel_DeviceName%

[DJMidiSteel.Interface.DMus1]
AddReg=DJMidiSteel.Interface.DMus1.AddReg

[DJMidiSteel.Interface.DMus1.AddReg]
HKR,,CLSID,,%MSProxy.CLSID%
HKR,,FriendlyName,,%DJMidiSteel_DeviceFriendlyName%


; ==================== general audio feature ====================
[Strings]
CSMfgName="Guillemot Corporation"
DJMidi_DeviceName	="Hercules DJ Console MIDI"
DJMidi2_DeviceName	="Hercules DJ Console Mk2 MIDI"
DJMidiRMX_DeviceName	="Hercules DJ Console Rmx MIDI"
DJMidiSteel_DeviceName	="Hercules DJ Control Steel MIDI"
DJMidiC_DeviceName	="Hercules DJ Control MP3 MIDI"
DJMIDIC2009_DeviceName ="DJ Control MP3 e2 MIDI"
DJMidiMk4_DeviceName	="Hercules DJ Console Mk4 MIDI"
DJMidi4MX_DeviceName	="Hercules DJ Console 4-Mx MIDI"
DJMidi4MX_MIDIName	="DJ Console 4-Mx MIDI"
DJMidi4SET_DeviceName	="Hercules DJ 4Set MIDI"
DJMidi4SET_MIDIName	="Hercules DJ 4Set MIDI"
DJMidiMP3LE_DeviceName ="DJControl MP3 LE MIDI"
DJMidiMP3Glow_DeviceName="Hercules DJControl Glow MIDI"

; This is here because if we append the "MIDI" token the name is 
;   too large under Vista for the audio stack.  
DJMidiSteel_DeviceFriendlyName	="Hercules DJ Control Steel"

SourceDiskName		="Hercules DJ Console installation CD"

;
; Guids
; 
MSProxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSNAME_DMus1="DMus1"
ClassName="DJHERCULESMIX Devices"

REG_SZ                 = 0
REG_BINARY             = 1
REG_KEYONLY            = 0x00000010
REG_DWORD              = 0x00010001
REG_EXPAND_SZ          = 0x00020000
REG_MULTI_SZ           = 0x00010000