;Copyright (c) 1990-2000 EGOSYS Corporation All rights Reserved
;
; MaXiO
;==============================================================

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

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

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

;[ControlFlags]
;ExcludeFromSelect = *

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

[SourceDisksFiles]
Maxi.sys=1
MaxiWdm.sys=1
MaxiPan.exe=1
MaxiAsio.dll=1

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

[WDM.CopyList]
Maxi.sys
Maxiwdm.sys
Maxiwdm1.sys,Maxiwdm.sys
Maxiwdm2.sys,Maxiwdm.sys
Maxiwdm3.sys,Maxiwdm.sys

[WDM.App.CopyList]
MaxiPan.exe
MaxiAsio.dll

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

;==============================================================
[Manufacturer]
"EGOSYS"=PRODUCTS

[PRODUCTS]
%Maxi_AA.DeviceDesc%=Maxi_AA, PCI\VEN_165F&DEV_FF80	; maxio32
%Maxi_AA.DeviceDesc%=Maxi_AA, PCI\VEN_165F&DEV_FF91	; maxioxd
%Maxi_01.DeviceDesc%=Maxi_01, EGOSYS\MAXIO_01
%Maxi_02.DeviceDesc%=Maxi_02, EGOSYS\MAXIO_02
%Maxi_03.DeviceDesc%=Maxi_03, EGOSYS\MAXIO_03

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

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

[Maxi_AA.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,Maxi.sys

[Maxi_AA.ASIO.AddReg]
HKLM,SOFTWARE\ASIO\%ASIO_MaxiNAME%,CLSID,,%ASIO_MaxiIID%
HKCR,CLSID\%ASIO_MaxiIID%,,,%ASIO_MaxiNAME%
HKCR,CLSID\%ASIO_MaxiIID%\InProcServer32,,,"%11%\MaxiAsio.dll"
HKCR,CLSID\%ASIO_MaxiIID%\InProcServer32,ThreadingModel,,"Apartment"
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,MaxiPan,,"MaxiPan.Exe"

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

[Maxi_AA_Service_Inst]
DisplayName   = %Maxi_AA.SvcDesc%
ServiceType   = 1                  
StartType     = 3                  
ErrorControl  = 1                  
ServiceBinary = %10%\system32\drivers\Maxi.sys

;=======================================================================================;
[WDM.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,Maxiwdm.sys
HKR,,NTMPDriver,,"Maxiwdm.sys"
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,,%MME.DriverDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%MME.DriverDesc%

[WDM.Midi.AddReg]
HKR,,AssociatedFilters,,"wdmaud"
HKR,,Driver,,Maxiwdm3.sys
HKR,,NTMPDriver,,"Maxiwdm3.sys"
HKR,Drivers,SubClasses,,"midi"
HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\midi\wdmaud.drv,Description,,%MME.DriverDesc%

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

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

[Maxi_01.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topo%,WDM.Interface.Topo1
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM.Interface.Wave1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM.Interface.Wave1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM.Interface.Wave1

[Maxi_01.NTX86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topo%,WDM.Interface.Topo1
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM.Interface.Wave1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM.Interface.Wave1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,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%

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

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

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

[Maxi_02.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topo%,WDM.Interface.Topo2
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM.Interface.Wave2
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM.Interface.Wave2
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM.Interface.Wave2

[Maxi_02.NTX86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topo%,WDM.Interface.Topo2
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM.Interface.Wave2
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM.Interface.Wave2
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM.Interface.Wave2

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

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


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

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

[Maxi_03.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Midi1%,WDM.Interface.Midi1
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Midi1%,WDM.Interface.Midi1
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Midi1%,WDM.Interface.Midi1

[Maxi_03.NTX86.Interfaces]
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.Midi1]
AddReg=WDM.Interface.Midi1.AddReg
[WDM.Interface.Midi1.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM.Midi1.szPname%

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

;====================== Strings ===============================
[Strings]
DiskDescription         ="MaXiO EWDM Driver for WIn98 SE, ME, Win2000, XP"
Maxi_AA.DeviceDesc      ="MaXiO EWDM Controller By ESI"
Maxi_01.DeviceDesc      ="MaXiO EWDM Wave-1"
Maxi_02.DeviceDesc      ="MaXiO EWDM Wave-2"
Maxi_03.DeviceDesc      ="MaXiO EWDM MIDI"
MME.DriverDesc          ="MaXiO EWDM MME Driver"
KSNAME_Topo             ="ESI_Mixe1"
KSNAME_Wave             ="ESI_Wave1"
KSNAME_Midi1            ="ESI_MIDI1"
WDM.Topo1.szPname       ="1-MaXiO Mixer"
WDM.Topo2.szPname       ="2-MaXiO Mixer"
WDM.Wave1.szPname       ="MaXiO Stereo Wave (SPDIF/PCM)"
WDM.Wave2.szPname       ="MaXiO Multi Wave"
WDM.Midi1.szPname       ="MaXiO 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}"
Maxi_AA.SvcDesc         ="Service for MaXiO Audio Driver (EWDM)"
Maxi_01.SvcDesc         ="Service for MaXiO-1"
Maxi_02.SvcDesc         ="Service for MaXiO-2"
Maxi_03.SvcDesc         ="Service for MaXiO MIDI"
ASIO_MaxiIID            ="{CC944FA1-A866-11d5-95C4-0000F461437F}"
ASIO_MaxiNAME           ="ASIO 2.0 - MaXiO"
