[Version]
Signature=$CHICAGO$
Class=Media
Provider=%String0%
LayoutFile=layout.inf

[ClassInstall]
AddReg=Class.AddReg

[DestinationDirs]
DefaultDestDir=11

[ControlFlags]

[Manufacturer]
%String1%=CMedia

[CMedia]
%String2%=CMedia_9738_Dev,PCI\VEN_8086&DEV_2415
%String2%=CMedia_9738_Dev,PCI\VEN_8086&DEV_2425
%String2%=CMedia_9738_Dev,PCI\VEN_8086&DEV_2445
%String2%=CMedia_9738_Dev,PCI\VEN_8086&DEV_2485
%String2%=CMedia_9738_Dev,PCI\VEN_1039&DEV_7012

[CMedia_9738_Dev]
CopyFiles=AC97.CopyList
DelFiles=AC97.DelList
AddReg=AC97.AddReg,MIXER.AddReg,WAVE.AddReg,PreCopySection
UpdateInis=AC97.UpdateInis

[AC97.CopyList]
CM9738.drv
CM9738V.vxd

[AC97.DelList]

[PreCopySection]
HKR,,NoSetupUI,0,1

[AC97.AddReg]
HKR,,Devloader,0,mmdevldr.vxd
HKR,Config,EnableIRQ12,1,0
HKR,Drivers,MIGRATED,0,0
HKR,Drivers\wave,,0,
HKR,Drivers\mixer,,0,
HKR,Drivers\aux,,0,
HKLM,%KEY_IOC%\acm,,0,
HKLM,%KEY_IOC%\Rec,,0,
HKLM,%KEY_IOC%\MPlay,,0,

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

[WAVE.AddReg]
HKR,,Driver,0,CM9738V.vxd
HKR,Drivers\wave\CM9738.drv,Driver,0,CM9738.drv
HKR,Drivers\mixer\CM9738.drv,Driver,0,CM9738.drv
HKR,Drivers\aux\CM9738.drv,Driver,0,CM9738.drv
HKR,Drivers\wave\CM9738.drv,Description,0,%WAVE.DeviceDesc%
HKR,Drivers\mixer\CM9738.drv,Description,0,%WAVE.DeviceDesc%
HKR,Drivers\aux\CM9738.drv,Description,0,%WAVE.DeviceDesc%
HKR,Drivers,SubClasses,,"wave,mixer,aux,midi"

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

[AC97.UpdateInis]

[SourceDisksNames]
1="CMI9738 VxD Driver Disk",,0000

[SourceDisksFiles]
CM9738.drv=1
CM9738V.vxd=1

[Strings]
String0="C-Media Inc."
String1="C-Media Inc."
String2="C-Media 9738 AC97 CODEC"
KEY_IOC="SYSTEM\CurrentControlSet\Control\MediaResources\InstallOptionalComponents"
WAVE.DeviceDesc="C-Media Inc. Wave Mixer Aux"
MediaClassName="Sound, video and game controllers"
