[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
provider=pioneer dj
DriverVer=06/07/2018,1.000.0.0
CatalogFile.NT=XDJ-RRAudio64.cat

[Manufacturer]
%MfgName%=Pioneer DJ, ntamd64

;============================================================================
[SourceDisksNames]
1=installer

[SourceDisksFiles]
XDJ-RRAudio64.sys = 1

[ControlFlags]
ExcludeFromSelect = *

[Pioneer DJ.ntamd64]
"PIONEER DJ XDJ-RR"=USBAudio,USB\VID_2B73&PID_0027&MI_00

[DestinationDirs]
USBAudio.CopyList     = 10,system32\drivers ; %SystemRoot%\system32\drivers

;============================================================================

[USBAudio.Interfaces]
AddInterface={6994AD04-93EF-11D0-A3CC-00A0C9223196},"Wave1",USBAudio.Interface.Wave1
AddInterface={65E8773E-8F56-11D0-A3B9-00A0C9223196},"Wave1",USBAudio.Interface.Wave1
AddInterface={65E8773D-8F56-11D0-A3B9-00A0C9223196},"Wave1",USBAudio.Interface.Wave1

[USBAudio.Interface.Wave1]
AddReg=USBAudio.Interface.Addreg.Wave1

[USBAudio.Interface.AddReg.Wave1]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,"PIONEER DJ XDJ-RR"

[USBAudio.AddReg]
;; Usb audio specific registry update sutff
HKR,,SetupPreferredAudioDevices,3,01,00,00,00
HKR,,AssociatedFilters,,"wdmaud,redbook"
HKR,,Driver,,XDJ-RRAudio64.sys
HKR,,NTMPDriver,,"XDJ-RRAudio64.sys,sbemul.sys"
HKR,,CLSID,,%Proxy.CLSID%
HKR,Drivers,SubClasses,,"wave,mixer"
HKR,Drivers\wave\wdmaud.drv, Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,"XDJ-RR"
HKR,Drivers\mixer\wdmaud.drv,Description,,"XDJ-RR"

;============================================================================

;; Copy to system32\drivers
[USBAudio.CopyList]
XDJ-RRAudio64.sys

;;**************** NT Install ****************

[USBAudio.NT]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration,mssysfx.CopyFilesAndRegister
CopyFiles=USBAudio.CopyList
AddReg=USBAudio.AddReg

[USBAudio.NT.Interfaces]
AddInterface={6994AD04-93EF-11D0-A3CC-00A0C9223196},"Wave1",USBAudio.Interface.Wave1
AddInterface={65E8773E-8F56-11D0-A3B9-00A0C9223196},"Wave1",USBAudio.Interface.Wave1
AddInterface={65E8773D-8F56-11D0-A3B9-00A0C9223196},"Wave1",USBAudio.Interface.Wave1

[USBAudio.NT.Services]
AddService = XDJ-RRAudio, 0x00000002, usbaudio_Service_Inst

[usbaudio_Service_Inst]
DisplayName    = %USBAudio.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\XDJ-RRAudio64.sys

;============================================================================

[Strings]
MfgName =          "(XDJ-RR USB AUDIO)"
USBAudio.SvcDesc = "XDJ-RR WDM Audio"
Proxy.CLSID =      "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
