;Copyright (c) 1990-2002 ESI Corporation All rights Reserved
;
; Maya44 Pro
;==============================================================

;==============================================================
[Version]
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
provider="AUDIOTRAK "

;==============================================================
[WIN98.KnownRegEntries]
IsWin98Gold=keep

[IsWin98Gold]
1=HKLM,Software\Microsoft\Windows\CurrentVersion,VersionNumber,0,4.10.1998

;[ControlFlags]
;ExcludeFromSelect = *

;==============================================================
[SourceDisksNames]
1=%DiskDescription%,,,

[SourceDisksFiles]
Mam2.sys=1
Mam2Wdm.sys=1
Mam2Pan.exe=1
Mam2Asio.dll=1

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

[WDM.CopyList]
Mam2.sys
Mam2Wdm.sys

[WDM.App.CopyList]
Mam2Pan.exe
Mam2Asio.dll

[DriverDel]
DelFiles=WDM.CopyList,WDM.App.CopyList
[DriverUp]
CopyFiles=WDM.CopyList,WDM.App.CopyList

;==============================================================
[Manufacturer]
"AUDIO-TRAK"=AUDIOTRAK

[AUDIOTRAK]
%MAM2_A0.DeviceDesc%=MAM2_AA, PCI\VEN_1412&DEV_1724&SUBSYS_41543130
%MAM2_01.DeviceDesc%=MAM2_01, AUDIOTRAK\MA44MK2_01

;==============================================================
; MAM2_AA 
;==============================================================
[MAM2_AA]
CopyFiles=WDM.CopyList,WDM.App.CopyList
AddReg=MAM2_AA.AddReg,MAM2_AA.ASIO.AddReg

[MAM2_AA.NTX86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
CopyFiles=WDM.CopyList,WDM.App.CopyList
AddReg=MAM2_AA.ASIO.AddReg

[MAM2_AA.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Mam2.sys

[MAM2_AA.ASIO.AddReg]
HKLM,SOFTWARE\ASIO\%ASIO_Mam2NAME%,CLSID,,%ASIO_Mam2IID%
HKCR,CLSID\%ASIO_Mam2IID%,,,%ASIO_Mam2NAME%
HKCR,CLSID\%ASIO_Mam2IID%\InProcServer32,,,"%11%\Mam2Asio.dll"
HKCR,CLSID\%ASIO_Mam2IID%\InProcServer32,ThreadingModel,,"Apartment"
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,Mam2Pan,,"Mam2Pan.Exe"
[StartPanel]
HKLM,Software\Microsoft\Windows\CurrentVersion\RunOnce,Mam2Pan,,"Mam2Pan.Exe"

[MAM2_AA.NTX86.Services]
include=wdmaudio.inf
needs=wdmaudio.registration.services
AddService = MAM2_AA, 0x00000002, MAM2_AA_Service_Inst

[MAM2_AA_Service_Inst]
DisplayName   = %MAM2_AA.SvcDesc%
ServiceType   = 1                  
StartType     = 3                  
ErrorControl  = 1                  
ServiceBinary = %10%\system32\drivers\Mam2.sys

;=======================================================================================;
[WDM.AddReg]
HKR,,AssociatedFilters,,"wdmaud,redbook"
HKR,,Driver,,Mam2Wdm.sys
HKR,,NTMPDriver,,"Mam2Wdm.sys"
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%

;=======================================================================================;
; MAM2_01
;=======================================================================================;
[MAM2_01]
AlsoInstall=KS.Registration(ks.inf), WDMAUDIO.Registration(wdmaudio.inf)
AddReg=WDM.AddReg

[MAM2_01.NTX86]
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=WDM.AddReg

[MAM2_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

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topo2%,WDM.Interface.Topo2
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave2%,WDM.Interface.Wave2
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave2%,WDM.Interface.Wave2
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave2%,WDM.Interface.Wave2

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topo3%,WDM.Interface.Topo3
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave3%,WDM.Interface.Wave3
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave3%,WDM.Interface.Wave3
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave3%,WDM.Interface.Wave3

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Midi1%,WDM.Interface.Midi1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Midi1%,WDM.Interface.Midi1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Midi1%,WDM.Interface.Midi1

[MAM2_01.NTX86.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

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topo2%,WDM.Interface.Topo2
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave2%,WDM.Interface.Wave2
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave2%,WDM.Interface.Wave2
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave2%,WDM.Interface.Wave2

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topo3%,WDM.Interface.Topo3
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave3%,WDM.Interface.Wave3
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave3%,WDM.Interface.Wave3
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave3%,WDM.Interface.Wave3

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Midi1%,WDM.Interface.Midi1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Midi1%,WDM.Interface.Midi1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Midi1%,WDM.Interface.Midi1

[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%

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

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

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

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

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

[MAM2_01.NTX86.Services]
include=wdmaudio.inf
needs=wdmaudio.registration.services
AddService = MAM2_01, 0x00000002, MAM2_01_Service_Inst
[MAM2_01_Service_Inst]
DisplayName   = %MAM2_01.SvcDesc%
ServiceType   = 1                  ; SERVICE_KERNEL_DRIVER
StartType     = 3                  ; SERVICE_DEMAND_START
ErrorControl  = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary = %10%\system32\drivers\Mam2Wdm.sys

;====================== Strings ===============================
[Strings]
DiskDescription         ="Maya44 MKII Driver for WIn98 SE,ME,2000,XP"
MAM2_A0.DeviceDesc      ="Maya44 MKII Controller"
MAM2_01.DeviceDesc      ="Maya44 MKII Audio"
MME.DriverDesc          ="Maya44 MKII MME Driver"
KSNAME_Topo1            ="ESI_Mixe1"
KSNAME_Topo2            ="ESI_Mixe2"
KSNAME_Topo3            ="ESI_Mixe3"
KSNAME_Wave1            ="ESI_Wave1"
KSNAME_Wave2            ="ESI_Wave2"
KSNAME_Wave3            ="ESI_Wave3"
KSNAME_Midi1            ="ESI_Midi1"
WDM.Topo1.szPname       ="1-Maya44 MKII Ch12 Mixer"
WDM.Topo2.szPname       ="2-Maya44 MKII Ch34 Mixer"
WDM.Topo3.szPname       ="3-Maya44 MKII Ch1234 Mixer"
WDM.Wave1.szPname       ="1-Maya44 MKII Ch12"
WDM.Wave2.szPname       ="2-Maya44 MKII Ch34"
WDM.Wave3.szPname       ="3-Maya44 MKII Ch1234"
WDM.Midi1.szPname       ="1-Maya44 MKII MIDI"
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}"
MAM2_AA.SvcDesc         ="Service for Maya44 MKII Audio Driver (EWDM)"
MAM2_01.SvcDesc         ="Service for Maya44 MKII 1"
ASIO_Mam2IID            ="{0245DC16-1FFD-4f15-A408-122737FB26C4}"
ASIO_Mam2NAME           ="ASIO 2.0 - Maya44 MKII"

[Strings.0804]			;SIMPLIFIED CHINESE     (PR China)
DiskDescription         ="Maya44 Pro Driver for WIn98 SE,ME,2000,XP"
MAM2_A0.DeviceDesc      ="Maya44 Pro Controller"
MAM2_01.DeviceDesc      ="Maya44 Pro Audio"
MME.DriverDesc          ="Maya44 Pro MME Driver"
KSNAME_Topo1            ="ESI_Mixe1"
KSNAME_Topo2            ="ESI_Mixe2"
KSNAME_Topo3            ="ESI_Mixe3"
KSNAME_Wave1            ="ESI_Wave1"
KSNAME_Wave2            ="ESI_Wave2"
KSNAME_Wave3            ="ESI_Wave3"
KSNAME_Midi1            ="ESI_Midi1"
WDM.Topo1.szPname       ="1-Maya44 Pro Ch12 Mixer"
WDM.Topo2.szPname       ="2-Maya44 Pro Ch34 Mixer"
WDM.Topo3.szPname       ="3-Maya44 Pro Ch1234 Mixer"
WDM.Wave1.szPname       ="1-Maya44 Pro Ch12"
WDM.Wave2.szPname       ="2-Maya44 Pro Ch34"
WDM.Wave3.szPname       ="3-Maya44 Pro Ch1234"
WDM.Midi1.szPname       ="1-Maya44 Pro MIDI"
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}"
MAM2_AA.SvcDesc         ="Service for Maya44 Pro Audio Driver (EWDM)"
MAM2_01.SvcDesc         ="Service for Maya44 Pro 1"
ASIO_Mam2IID            ="{0245DC16-1FFD-4f15-A408-122737FB26C4}"
ASIO_Mam2NAME           ="ASIO 2.0 - Maya44 Pro"

[Strings.0A04]			; HONGKONG CHINESE     Chinese (Hong Kong S.A.R., P.R.C.)
DiskDescription         ="Maya44 Pro Driver for WIn98 SE,ME,2000,XP"
MAM2_A0.DeviceDesc      ="Maya44 Pro Controller"
MAM2_01.DeviceDesc      ="Maya44 Pro Audio"
MME.DriverDesc          ="Maya44 Pro MME Driver"
KSNAME_Topo1            ="ESI_Mixe1"
KSNAME_Topo2            ="ESI_Mixe2"
KSNAME_Topo3            ="ESI_Mixe3"
KSNAME_Wave1            ="ESI_Wave1"
KSNAME_Wave2            ="ESI_Wave2"
KSNAME_Wave3            ="ESI_Wave3"
KSNAME_Midi1            ="ESI_Midi1"
WDM.Topo1.szPname       ="1-Maya44 Pro Ch12 Mixer"
WDM.Topo2.szPname       ="2-Maya44 Pro Ch34 Mixer"
WDM.Topo3.szPname       ="3-Maya44 Pro Ch1234 Mixer"
WDM.Wave1.szPname       ="1-Maya44 Pro Ch12"
WDM.Wave2.szPname       ="2-Maya44 Pro Ch34"
WDM.Wave3.szPname       ="3-Maya44 Pro Ch1234"
WDM.Midi1.szPname       ="1-Maya44 Pro MIDI"
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}"
MAM2_AA.SvcDesc         ="Service for Maya44 Pro Audio Driver (EWDM)"
MAM2_01.SvcDesc         ="Service for Maya44 Pro 1"
ASIO_Mam2IID            ="{0245DC16-1FFD-4f15-A408-122737FB26C4}"
ASIO_Mam2NAME           ="ASIO 2.0 - Maya44 Pro"

[Strings.0404]			; TRADITIONAL CHINESE     Chinese (Taiwan)
DiskDescription         ="Maya44 Pro Driver for WIn98 SE,ME,2000,XP"
MAM2_A0.DeviceDesc      ="Maya44 Pro Controller"
MAM2_01.DeviceDesc      ="Maya44 Pro Audio"
MME.DriverDesc          ="Maya44 Pro MME Driver"
KSNAME_Topo1            ="ESI_Mixe1"
KSNAME_Topo2            ="ESI_Mixe2"
KSNAME_Topo3            ="ESI_Mixe3"
KSNAME_Wave1            ="ESI_Wave1"
KSNAME_Wave2            ="ESI_Wave2"
KSNAME_Wave3            ="ESI_Wave3"
KSNAME_Midi1            ="ESI_Midi1"
WDM.Topo1.szPname       ="1-Maya44 Pro Ch12 Mixer"
WDM.Topo2.szPname       ="2-Maya44 Pro Ch34 Mixer"
WDM.Topo3.szPname       ="3-Maya44 Pro Ch1234 Mixer"
WDM.Wave1.szPname       ="1-Maya44 Pro Ch12"
WDM.Wave2.szPname       ="2-Maya44 Pro Ch34"
WDM.Wave3.szPname       ="3-Maya44 Pro Ch1234"
WDM.Midi1.szPname       ="1-Maya44 Pro MIDI"
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}"
MAM2_AA.SvcDesc         ="Service for Maya44 Pro Audio Driver (EWDM)"
MAM2_01.SvcDesc         ="Service for Maya44 Pro 1"
ASIO_Mam2IID            ="{0245DC16-1FFD-4f15-A408-122737FB26C4}"
ASIO_Mam2NAME           ="ASIO 2.0 - Maya44 Pro"

[Strings.1004]			; SINGAPORE CHINESE     Chinese (Singapore)
DiskDescription         ="Maya44 Pro Driver for WIn98 SE,ME,2000,XP"
MAM2_A0.DeviceDesc      ="Maya44 Pro Controller"
MAM2_01.DeviceDesc      ="Maya44 Pro Audio"
MME.DriverDesc          ="Maya44 Pro MME Driver"
KSNAME_Topo1            ="ESI_Mixe1"
KSNAME_Topo2            ="ESI_Mixe2"
KSNAME_Topo3            ="ESI_Mixe3"
KSNAME_Wave1            ="ESI_Wave1"
KSNAME_Wave2            ="ESI_Wave2"
KSNAME_Wave3            ="ESI_Wave3"
KSNAME_Midi1            ="ESI_Midi1"
WDM.Topo1.szPname       ="1-Maya44 Pro Ch12 Mixer"
WDM.Topo2.szPname       ="2-Maya44 Pro Ch34 Mixer"
WDM.Topo3.szPname       ="3-Maya44 Pro Ch1234 Mixer"
WDM.Wave1.szPname       ="1-Maya44 Pro Ch12"
WDM.Wave2.szPname       ="2-Maya44 Pro Ch34"
WDM.Wave3.szPname       ="3-Maya44 Pro Ch1234"
WDM.Midi1.szPname       ="1-Maya44 Pro MIDI"
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}"
MAM2_AA.SvcDesc         ="Service for Maya44 Pro Audio Driver (EWDM)"
MAM2_01.SvcDesc         ="Service for Maya44 Pro 1"
ASIO_Mam2IID            ="{0245DC16-1FFD-4f15-A408-122737FB26C4}"
ASIO_Mam2NAME           ="ASIO 2.0 - Maya44 Pro"

[Strings.1404]			; MACAU  CHINESE     Chinese (Macau S.A.R.)
DiskDescription         ="Maya44 Pro Driver for WIn98 SE,ME,2000,XP"
MAM2_A0.DeviceDesc      ="Maya44 Pro Controller"
MAM2_01.DeviceDesc      ="Maya44 Pro Audio"
MME.DriverDesc          ="Maya44 Pro MME Driver"
KSNAME_Topo1            ="ESI_Mixe1"
KSNAME_Topo2            ="ESI_Mixe2"
KSNAME_Topo3            ="ESI_Mixe3"
KSNAME_Wave1            ="ESI_Wave1"
KSNAME_Wave2            ="ESI_Wave2"
KSNAME_Wave3            ="ESI_Wave3"
KSNAME_Midi1            ="ESI_Midi1"
WDM.Topo1.szPname       ="1-Maya44 Pro Ch12 Mixer"
WDM.Topo2.szPname       ="2-Maya44 Pro Ch34 Mixer"
WDM.Topo3.szPname       ="3-Maya44 Pro Ch1234 Mixer"
WDM.Wave1.szPname       ="1-Maya44 Pro Ch12"
WDM.Wave2.szPname       ="2-Maya44 Pro Ch34"
WDM.Wave3.szPname       ="3-Maya44 Pro Ch1234"
WDM.Midi1.szPname       ="1-Maya44 Pro MIDI"
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}"
MAM2_AA.SvcDesc         ="Service for Maya44 Pro Audio Driver (EWDM)"
MAM2_01.SvcDesc         ="Service for Maya44 Pro 1"
ASIO_Mam2IID            ="{0245DC16-1FFD-4f15-A408-122737FB26C4}"
ASIO_Mam2NAME           ="ASIO 2.0 - Maya44 Pro"
