[Version]
Signature="$CHICAGO$"
Class=MEDIA
provider=%AZTECH%
;LayoutFile=layout.inf

[ClassInstall]
AddReg=Class.AddReg

[Class.AddReg]
HKR,,,,%MediaClassName%
HKR,,Icon,,"-1"
HKR,,Installer,,mmci.dll

[Manufacturer]
%AZTMfgName%=AztechLabs

[AztechLabs]
%*AZT1605.DeviceDesc%=AZT1605_Device, *AZT1605

[PreCopySection]
HKR,,NoSetupUI,,1

[Det.DevINFs]
*pnpb02f=joystick.inf

;---------------------------------------------------------------;

[AZT1605_Device]
LogConfig=AZT16C.LC1
DelFiles=AZT16.DelList
CopyFiles=AZT16C.CopyList
AddReg=WAVE.AddReg, MIXER.AddReg, AZT1605.AddReg, AZTCheck.AddReg
UpdateInis=AZT16.UpdateInis
UpdateAutoBat=AZT16.AutoBat

[AZT1605_Device.FactDef]
ConfigPriority=NORMAL
IOConfig=220-22F
IOConfig=530-537
IOConfig=388-38B
IRQConfig=5
IRQConfig=10
DMAConfig=1
DMAConfig=3

;---------------------------------------------------------------;

[AZT16.UpdateInis]
system.ini,386Enh,"device=vsglx16.386"
system.ini,drivers,"wave*=mm16c.drv",,1
system.ini,drivers,"aux*=mm16c.drv",,1
system.ini,drivers,"mixer*=mm16c.drv",,1
system.ini,drivers,"midi*=mm16c.drv",,1
system.ini,drivers,"wave*=mm16n.drv",,1
system.ini,drivers,"aux*=mm16n.drv",,1
system.ini,drivers,"mixer*=mm16n.drv",,1
system.ini,drivers,"midi*=mm16n.drv",,1
system.ini,drivers,"wave*=mm16w.drv",,1
system.ini,drivers,"aux*=mm16w.drv",,1
system.ini,drivers,"mixer*=mm16w.drv",,1
system.ini,drivers,"midi*=mm16w.drv",,1
system.ini,drivers,"midi*=mmopl3.drv",,1
system.ini,drivers,"midi*=sapi!opl.drv",,1
system.ini,drivers,"msacm.msadpcm.acm=msadpcm.acm",,

[AZT16.AutoBat]
CmdDelete=emutsr,1

[AZT16C.LC1]
ConfigPriority=NORMAL
IOConfig=220-22F, 240-24F
IOConfig=530-537, 604-60B, E80-E87, F40-F47
IOConfig=388-38B
IRQConfig=3, 5, 7, 9
IRQConfig=7, 9, 10, 11
DMAConfig=0, 1, 3
DMAConfig=0, 1, 3

;---------------------------------------------------------------;
;
; The .Det sections are added to the devnode at detection time
; only.  The PreCopySection is simply setting the NoSetupUI
; flag so that the critical pieces (such as logical 
; configurations) are in place at the time the device is started 
; during first boot.
;
;---------------------------------------------------------------;

[*AZT1605.Det]
AddReg=PreCopySection

;---------------------------------------------------------------;

[AZT16C.CopyList]
azt16c.drv,,
azt16.vxd,,
msopl.drv,,
;---------------------------------------------------------------;

[AZT16.DelList]
mm16c.drv,,,1
mm16n.drv,,,1
mm16w.drv,,,1
sapi!opl.drv,,,1
vsglx16.386,,,1
nullwave.drv,,,1
;---------------------------------------------------------------;

[AZTCheck.AddReg]
HKLM,%KEY_FIL%\fl.UpdateInis,wave.mm16c,,"system.ini,drivers,""wave*=mm16c.drv"",,1"
HKLM,%KEY_FIL%\fl.UpdateInis,aux.mm16c,,"system.ini,drivers,""aux*=mm16c.drv"",,1"
HKLM,%KEY_FIL%\fl.UpdateInis,midi.mm16c,,"system.ini,drivers,""mixer*=mm16c.drv"",,1"
HKLM,%KEY_FIL%\fl.UpdateInis,mixer.mm16c,,"system.ini,drivers,""midi*=mm16c.drv"",,1"
HKLM,%KEY_FIL%\fl.UpdateInis,midi.sapi!opl,,"system.ini,drivers,""midi*=sapi!opl.drv"",,1"
HKLM,%KEY_FIL%\fl.UpdateInis,device.vsglx16,,"system.ini,386Enh,""device=vsglx16.386"",,"
HKLM,%KEY_FIL%\fl.UpdateInis,wave.mm16w,,"system.ini,drivers,""wave*=mm16w.drv"",,1"
HKLM,%KEY_FIL%\fl.UpdateInis,aux.mm16w,,"system.ini,drivers,""aux*=mm16w.drv"",,1"
HKLM,%KEY_FIL%\fl.UpdateInis,midi.mm16w,,"system.ini,drivers,""mixer*=mm16w.drv"",,1"
HKLM,%KEY_FIL%\fl.UpdateInis,mixer.mm16w,,"system.ini,drivers,""midi*=mm16w.drv"",,1"
HKLM,%KEY_FIL%\PostInstall,UpdateIniFields,,"UpdateIniFields=fl.UpdateIniFields"
HKLM,%KEY_FIL%\fl.UpdateIniFields,,,"1"
HKLM,%KEY_FIL%\fl.UpdateIniFields,msmixmgr,,"system.ini,boot,drivers,msmixmgr.dll"

[Drivers.fields]
system.ini,boot,drivers,msmixmgr.dll
system.ini,boot,drivers,mmmixer.dll

[AZT1605.AddReg]
HKR,,Driver,,azt16.vxd
HKR,Drivers\wave\azt16c.drv,Description,,%*AZT1605.DeviceDesc%
HKR,Drivers\wave\azt16c.drv,Driver,,azt16c.drv
HKR,Drivers\midi\msopl.drv,Description,,%V_INTERNAL%
HKR,Drivers\midi\msopl.drv,Driver,,msopl.drv
HKR,Drivers\mixer\azt16c.drv,Description,,%*AZT1605.DeviceDesc%
HKR,Drivers\mixer\azt16c.drv,Driver,,azt16c.drv
HKR,Drivers\aux\azt16c.drv,Description,,%*AZT1605.DeviceDesc%
HKR,Drivers\aux\azt16c.drv,Driver,,azt16c.drv
HKR,Drivers,SubClasses,,"wave,midi,aux,mixer"
HKR,,EnumPropPages,,"azt16c.drv,DrvEnumPropPages"

[MIXER.AddReg]
HKLM,Software\Microsoft\Windows\CurrentVersion\Run,SystemTray,,"SysTray.Exe"
HKLM,%KEY_IOC%\Vol,,,

[WAVE.AddReg]
HKR,,DevLoader,,mmdevldr.vxd
HKR,Drivers,MIGRATED,,0
HKR,Drivers\midi,,,
HKR,Drivers\wave,,,
HKR,Drivers\mixer,,,
HKR,Drivers\aux,,,
HKLM,%KEY_IOC%\acm,,,
HKLM,%KEY_IOC%\Rec,,,
HKLM,%KEY_IOC%\MPlay,,,

;---------------------------------------------------------------;
;
; The following is a list of known drivers for the given devices.
; Additionally, the safe driver list is a set of drivers that we
; know only support specific devices.
;
; These lists will help us to determine when we will replace a 
; driver with our "in-the-box" drivers.
;

[*AZT1608.KnownDrivers]
sg16.drv
sg16wss.drv

[*AZT1605.KnownDrivers]
mm16n.drv
mm16c.drv

[*AZT2316R.KnownDrivers]
mm16c.drv
mm16w.drv

;---------------------------------------------------------------;
[wave.SafeDrivers]
*.drv
mmsystem.dll
cpqaudio.drv                    ; Compaq Business Audio (WSS)
sbwave.drv
tbwave.drv
tlwave.drv
sndblst.drv
sndblst2.drv
sb15snd.drv
sb20snd.drv
sb16snd.drv
sbpsnd.drv
sbmcvsnd.drv
spmcvsnd.drv
sndsys.drv
wsssb16.drv                     ; SB16 driver from WSS 2.0
speaker.drv                     ; Speaker driver
spmme.drv                       ; Speaker driver
ad_mpt.drv                      ; After Dark
antexwav.drv                    ; Antex
tahiti.drv                      ; Turtle Beach Tahiti
multisnd.drv                    ; Turtle Beach Multisound
dspwav.drv                      ; Intel ProShare
tamaudio.drv                    ; Compaq Presario's Voice Modem
nullwave.drv			; AST NULL output wave driver
mvspeakr.drv                    ; from Icon Hear-It

;---------------------------------------------------------------;

[DestinationDirs]
DefaultDestDir = 11	; LDID_SYS

[SourceDisksNames]                      ;pcl added
1="Disk1",Disk1,        

[SourceDisksFiles]                      ;pcl added
azt16.vxd=1                             ;pcl added
azt16c.drv=1                            ;pcl added
msopl.drv=1                             ;pcl added

[Strings]
;Non-localized strings
KEY_WARNVER="SYSTEM\CurrentControlSet\Control\SessionManager\WarnVerDLLs"
KEY_CHKVER="SYSTEM\CurrentControlSet\Control\SessionManager\CheckVerDLLs"
KEY_FIL="SYSTEM\CurrentControlSet\Control\MediaResources\FilterList"
KEY_IOC="SYSTEM\CurrentControlSet\Control\MediaResources\InstallOptionalComponents"

;Localized strings
AZTMfgName="Aztech Labs"
*AZT1605.DeviceDesc="AZT 1605 Audio Device"
Joystick.DeviceDesc="Gameport Joystick"
MediaClassName="Sound, video and game controllers"
V_CLSWAVEFORM="Audio"
V_CLSMIDI="MIDI"
V_CLSMIXER="Mixer"
V_CLSAUX="Auxiliary"
V_GENERAL="General MIDI Instrument"
V_INTERNAL="Internal OPL2/OPL3 FM Synthesis"
V_EXTERNAL="External MIDI Port"
