;
; Copyright © Guillemot Corporation, 2016.  All rights reserved.
;
; HDJUSBAudio Driver for DJHERCULESMIX USB Audio Class Devices setup information file
;
; This file supports:
;     Windows XP
;     Windows Vista      Windows Vista x64
;     Windows 7          Windows 7 x64
;     Windows 8/8.1      Windows 7 x64
;     Windows 10         Windows 7 x64
;

;******************************************************************************
; Version Section
;------------------------------------------------------------------------------
[Version]
Signature="$Windows NT$"
DriverVer=04/18/2016,4.9.5.0
Provider=%S_Provider%
CatalogFile=HDJusbaudioks.cat

Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}


;******************************************************************************
; Manufacturer
;------------------------------------------------------------------------------
[Manufacturer]
%S_Mfg%=_Models, ntamd64


;******************************************************************************
; Models sections
;------------------------------------------------------------------------------
[_Models]
"DJConsole Rmx2"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_B113&KS
"DJControl AIR+"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_B116&KS
"DJControlWave"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b118&KS
"DJHERCULESMIX Universal DJ"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b11a&KS
"DJControl Jogvision"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b11c&KS
"DJControl Compact"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b11e&KS
"Hercules P32 DJ"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b121&KS
"DJControl Instinct P8"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b122&KS

[_Models.ntamd64]
"DJConsole Rmx2"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_B113&KS
"DJControl AIR+"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_B116&KS
"DJControlWave"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b118&KS
"DJHERCULESMIX Universal DJ"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b11a&KS
"DJControl Jogvision"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b11c&KS
"DJControl Compact"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b11e&KS
"Hercules P32 DJ"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b121&KS
"DJControl Instinct P8"=_Install, HDJUSBAUDIO_ENUM\VID_06F8&PID_b122&KS

;******************************************************************************
; Install Sections x86
;------------------------------------------------------------------------------
[_Install.ntx86]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration, mssysfx.CopyFilesAndRegister
CopyFiles=_CopyFiles_sys_x86
AddReg=_KSAddReg,_KSAddReg_x86
;AddProperty=_KSAddProperty

[_Install.ntx86.Services]
AddService = %S_ServiceName%, 0x00000002, _AddService_x86, _EventLog_x86

[_AddService_x86]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\HDJusbaudioks.sys

[_EventLog_x86]
AddReg=_EventLogAddReg_x86

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


;******************************************************************************
; Install Sections x64
;------------------------------------------------------------------------------
[_Install.ntamd64]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration, mssysfx.CopyFilesAndRegister
CopyFiles=_CopyFiles_sys_x64
AddReg=_KSAddReg,_KSAddReg_x64
;AddProperty=_KSAddProperty

[_Install.ntamd64.Services]
AddService = %S_ServiceName%, 0x00000002, _AddService_x64, _EventLog_x64

[_AddService_x64]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\HDJusbaudioks_x64.sys

[_EventLog_x64]
AddReg=_EventLogAddReg_x64

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


;******************************************************************************
; interface registration
;------------------------------------------------------------------------------
[_Install.ntx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,_KSTopology
[_Install.ntamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,_KSTopology

[_KSTopology]
AddReg=_KSTopology_AddReg
;AddReg=_KSTopology_AddReg,OEMSettingsOverride.AddReg

[_KSTopology_AddReg]
HKR,,FriendlyName,,%S_TopologyDeviceName%
HKR,,CLSID,,%Proxy.CLSID%

[OEMSettingsOverride.AddReg]
HKR,"EP\\0", %PKEY_AudioEndpoint_Association%,,%KSNODETYPE_SPEAKER%
; Should set default to 44.1khz, 4 channel, 16 bits
HKR,"EP\\0", %PKEY_AudioEngine_OEMFormat%, %REG_BINARY%, 41,00,00,00,28,00,00,00,FE,FF,04,00,44,AC,00,00,10,B1,02,00,04,00,10,00,16,00,10,00,33,00,00,00,01,00,00,00,00,00,10,00,80,00,00,AA,00,38,9B,71

;******************************************************************************
; make the driver available to the Multimedia system
;------------------------------------------------------------------------------
[_KSAddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"

HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\aux\wdmaud.drv,Driver,,wdmaud.drv

HKR,Drivers\wave\wdmaud.drv,Description,,%S_WdmAudDescription%
HKR,Drivers\midi\wdmaud.drv,Description,,%S_WdmAudDescription%
HKR,Drivers\mixer\wdmaud.drv,Description,,%S_WdmAudDescription%
HKR,Drivers\aux\wdmaud.drv,Description,,%S_WdmAudDescription%

;HKLM,%MediaCategories%\%Manufacturer.NameGuid%,Name,,%Manufacturer.Name%

[_KSAddReg_x86]
HKR,,Driver,,HDJusbaudioks.sys

[_KSAddReg_x64]
HKR,,Driver,,HDJusbaudioks_x64.sys


;******************************************************************************
; Add properties (Vista/W7 only)
;------------------------------------------------------------------------------
;[_KSAddProperty]
; optionally, add an icon shown in Vista/W7 Audio CPL
;DeviceBrandingIcon,,,,"%12%\HDJusbaudioks,-200"

;Place your URL here
;DeviceVendorWebSite,,,,"http://www.hercules.com/" 



;******************************************************************************
; Copy file sections
;------------------------------------------------------------------------------
[_CopyFiles_sys_x86]
HDJusbaudioks.sys,,,0x00000004

[_CopyFiles_sys_x64]
HDJusbaudioks_x64.sys,,,0x00000004


;******************************************************************************
; Destination Directories
;------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir  = 12  ; %windir%\system32\drivers 
_CopyFiles_sys_x86 = 12
_CopyFiles_sys_x64 = 12

;******************************************************************************
; Disk Layout
;------------------------------------------------------------------------------
[SourceDisksNames.x86]
1=%S_DiskName%,,0
[SourceDisksNames.amd64]
1=%S_DiskName%,,0

[SourceDisksFiles.x86]
HDJusbaudioks.sys=1
[SourceDisksFiles.amd64]
HDJusbaudioks_x64.sys=1



;******************************************************************************
; Text Strings
;------------------------------------------------------------------------------
[Strings]
;
; Non-Localizable Strings, DO NOT MODIFY!
;
REG_SZ         = 0x00000000
REG_MULTI_SZ   = 0x00010000
REG_EXPAND_SZ  = 0x00020000
REG_BINARY     = 0x00000001
REG_DWORD      = 0x00010001

KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_TOPOLOGY="{DDA54A40-1E4C-11D1-A050-405705C10000}"
Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSSTRING_Filter="{9B365890-165F-11D0-A195-0020AFD156E4}"
KSNODETYPE_SPEAKER  = "{DFF21CE1-F70F-11D0-B917-00A0C9223196}"
KSNAME_Topology="Topology"
PKEY_AudioEndpoint_Association = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},2"
PKEY_AudioEngine_OEMFormat = "{E4870E26-3CC5-4CD2-BA46-CA0A9A70ED04},3"

;
; Localizable Strings, modify as required
;
; provider
S_Provider="Guillemot Corporation"
S_Mfg="Guillemot Corporation"


; disk name
S_DiskName="HDJUSBAudio Driver for USB 2.0 Audio Devices driver disk"

S_WdmAudDescription="DJHERCULESMIX Audio Class Driver"
S_TopologyDeviceName="DJHERCULESMIX Audio Class Mixer"


; service name, should be set to x86 binary executable name without .sys extension
S_ServiceName="HDJusbaudioks"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"

Manufacturer.NameGuids="{A788B353-C9CA-4EFB-B6A0-80D1A5F64DFF}"
Manufacturer.Name="Guillemot Corporation"


;;;;;;;;;;;;;;;;;;;;;; EOF ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
