;@@@ESICoIn@@@
;Copyright (c) 2014 ESI Originals Corporation All rights Reserved
;
; ESI Originals MARA22XTU
;==============================================================
[Version]
Signature="$WINDOWS NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Provider%
CatalogFile.NTx86  = x86wdm.cat
CatalogFile.NTAMD64 = amd64wdm.cat
DriverVer=12/07/2014,1.3.0

;==============================================================
[SourceDisksNames]
111 = %DiskDescription%,,,
222 = %DiskDescription%,,,\X64
333 = %DiskDescription%,,,\win32

[SourceDisksFiles.amd64]
M22Xwdm.sys		= 222

[SourceDisksFiles.X86]
M22Xwdm.sys		= 333

;==============================================================
[WDM.CopyList]
M22Xwdm.sys

[DestinationDirs]
WDM.CopyList=10,system32\drivers

;==============================================================
[Manufacturer]
"ESIO"=DEVICES,NTx86,NTamd64

[DEVICES]
%DESC_DEVICE_01%=DEVICE_01, %PNPID_DEVICE_01%

[DEVICES.NTx86]
%DESC_DEVICE_01%=DEVICE_01, %PNPID_DEVICE_01%

[DEVICES.NTamd64]
%DESC_DEVICE_01%=DEVICE_01, %PNPID_DEVICE_01%

;==============================================================
; DEVICE_01
;==============================================================
[DEVICE_01]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
CopyFiles=WDM.CopyList
AddReg=WDM.AddReg,WDM.PinNameReg

[WDM.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,%FILE.WDM%
HKR,,NTMPDriver,,%FILE.WDM%
HKR,Drivers,SubClasses,,"wave,midi,mixer"
HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,%MME.DriverDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%MME.DriverDesc%
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%MME.DriverDesc%
HKR,,SetupPreferredAudioDevices,3,01,00,00,00
HKR,Branding,icon,,"%11%\ESIO.ico"
HKR,Branding,url,,"http://www.esio-audio.com"

[WDM.PinNameReg]
HKLM,%MediaCategories%\%GUID.Wave1%,Name,,%WDM.Wave1.szPname%

[DEVICE_01.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topo1%,WDM.Interface.Topo1
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave1%,WDM.Interface.Wave1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave1%,WDM.Interface.Wave1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave1%,WDM.Interface.Wave1

[WDM.Interface.Topo1]
AddReg=WDM.Interface.Topo1.AddReg
[WDM.Interface.Topo1.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Topo1.szPname%

[WDM.Interface.Wave1]
AddReg=WDM.Interface.Wave1.AddReg
[WDM.Interface.Wave1.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Wave1.szPname%

[DEVICE_01.Services]
AddService = %SEVICENAMES%, 0x00000002, DEVICE_01_Service_Inst

[DEVICE_01_Service_Inst]
DisplayName   = %DEVICE_01.SvcDesc%
ServiceType   = 1                  ; SERVICE_KERNEL_DRIVER
StartType     = 3                  ; SERVICE_DEMAND_START
ErrorControl  = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\%FILE.WDM%

;====================== Strings ===============================
[Strings]
Provider				="ESI Originals"
DiskDescription         ="MARA22XTU Audio Installation Disk"
DESC_DEVICE_01			="MARA22XTU Audio driver"
PNPID_DEVICE_01			="ESIO\MARA22XTU_01"
DEVICE_01.SvcDesc       ="Service for ESIO MARA22XTU WDM Audio driver"

Proxy.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_Topo1            ="ESI_Mixer1"
KSNAME_Wave1            ="ESI_Wave1"

MME.DriverDesc          ="MARA22XTU MME Driver"
WDM.Topo1.szPname       ="MARA22XTU Mixer"
WDM.Wave1.szPname       ="MARA22XTU"

SEVICENAMES             ="MARA22XTU WDM_01"
FILE.WDM                ="M22Xwdm.sys"

MediaCategories         ="SYSTEM\CurrentControlSet\Control\MediaCategories"
GUID.Wave1              ="{61C3A4F0-3B0F-43d0-91DC-5BBB4A5B01A0}"
