;Copyright (c) 1993, Microsoft Corporation

[version]
signature="$CHICAGO$"
LayoutFile=layout.inf
provider=%MSFT%

[BaseWinOptions]
mobase

[mobase]
OptionDesc="%MOBASE%"
CopyFiles=mmsys.files, mmsysapps.files, mmsysinf.files
DelFiles=mmsys.sys.del, mmsys.win.del
UpdateInis=mmsys.inis
UpdateIniFields=mmsys.fields
DelReg=mmsys.del.reg
AddReg=mmsys.add.reg

[mmsys.inis]
;remove
system.ini,drivers,"timer="
system.ini,drivers,"wavemapper="
system.ini,drivers,"midimapper="
system.ini,386enh,"device=vsbd.386"
system.ini,386enh,"device=vadlibd.386"
system.ini,386enh,"device=vtdapi.386"

system.ini,386enh,"device=wsssb16.386"
system.ini,drivers,"wave=wsssb16.drv"
system.ini,drivers,"wave=sndblst2.drv"
system.ini,drivers,"wave=sndblst.drv"
system.ini,drivers,"wave=sb15snd.drv"
system.ini,drivers,"wave=sb20snd.drv"
system.ini,drivers,"wave=sbpsnd.drv"
system.ini,drivers,"wave=sb16snd.drv"
system.ini,drivers,"midi=sndblst2.drv"
system.ini,drivers,"midi=sndblst.drv"
system.ini,drivers,"midi=sb15snd.drv"
system.ini,drivers,"midi=sb20snd.drv"
system.ini,drivers,"midi=sbpsnd.drv"
system.ini,drivers,"midi=sbfm.drv"
system.ini,drivers,"midi=sb2fm.drv"
system.ini,drivers,"midi=mpu401.drv"
system.ini,drivers,"midi=msadlib.drv"
system.ini,drivers,"midi=sb16fm.drv"
system.ini,drivers,"midi=sb16snd.drv"
system.ini,drivers,"midi1=sndblst2.drv"
system.ini,drivers,"midi1=sndblst.drv"
system.ini,drivers,"midi1=sb15snd.drv"
system.ini,drivers,"midi1=sb20snd.drv"
system.ini,drivers,"midi1=sbpsnd.drv"
system.ini,drivers,"midi1=sbfm.drv"
system.ini,drivers,"midi1=sb2fm.drv"
system.ini,drivers,"midi1=mpu401.drv"
system.ini,drivers,"midi1=msadlib.drv"
system.ini,drivers,"midi1=sb16fm.drv"
system.ini,drivers,"midi1=sb16snd.drv"
system.ini,drivers,"aux=sndblst2.drv"
system.ini,drivers,"aux=sndblst.drv"
system.ini,drivers,"aux=sbaux.drv"
system.ini,drivers,"aux=sbpaux.drv"
system.ini,drivers,"aux=sb16aux.drv"
system.ini,drivers,"mixer=sbpmixer.drv"

;ADD	
system.ini,386enh,,"device=mmdevldr.386"

[DestinationDirs]
mmsysapps.files = 10      ; LDID_WIN
mmsys.files = 11          ; LDID_SYS
mmsysinf.files = 17       ; INF directory
mediaopt.files = 10,media ; LDID_WIN\media
mmsys.sys.del = 11        ; LDID_SYS
mmsys.win.del = 10        ; LDID_WIN

[mmsys.fields]
system.ini,boot,drivers,,mmsystem.dll

[mmsys.del.reg]
HKCU,AppEvents
HKLM,system\MediaResources
HKLM,system\MediaDirectory
HKCR,mplayer
HKCR,CLSID\{0003000E-0000-0000-C000-000000000046}
HKCR,mplayer3
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}

[mmsys.add.reg]
;Classes
HKLM,hardware\class\wave,,,%V_CLSWAVEFORM%
HKLM,hardware\class\wave,Icon,,0
HKLM,hardware\class\wave,Installer,,MMSys.Cpl
HKLM,hardware\class\midi,,,%V_CLSMIDI%
HKLM,hardware\class\midi,Icon,,0
HKLM,hardware\class\midi,Installer,,MMSys.Cpl
HKLM,hardware\class\mci,,,%V_CLSMEDIA%
HKLM,hardware\class\mci,Icon,,0
HKLM,hardware\class\mci,Installer,,MMSys.Cpl
HKLM,hardware\class\acm,,,%V_CLSAUDIO%
HKLM,hardware\class\acm,Icon,,0
HKLM,hardware\class\acm,Installer,,MMSys.Cpl
HKLM,hardware\class\icm,,,%V_CLSIMAGE%
HKLM,hardware\class\icm,Icon,,0
HKLM,hardware\class\icm,Installer,,MMSys.Cpl
HKLM,hardware\class\mixer,,,%V_CLSMIXER%
HKLM,hardware\class\mixer,Icon,,0
HKLM,hardware\class\mixer,Installer,,MMSys.Cpl
HKLM,hardware\class\aux,,,%V_CLSAUX%
HKLM,hardware\class\aux,Icon,,0
HKLM,hardware\class\aux,Installer,,MMSys.Cpl

;Event Schemes
HKCU,AppEvents\Schemes,,,.Default
HKCU,AppEvents\Schemes\Names\.Default,,,"%V_CHICAGO%"
HKCU,AppEvents\Schemes\Apps\.Default,,,"%V_DEFAULT%"

HKCU,AppEvents\Schemes\Apps\.Default\.Default\.Default,,,
HKCU,AppEvents\Schemes\Apps\.Default\.Default\.Default\Active,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemStart\.Default,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemStart\.Default\Active,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemExit\.Default,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemExit\.Default\Active,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemDefault\.Default,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemDefault\.Default\Active,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemHand\.Default,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemHand\.Default\Active,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemQuestion\.Default,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemQuestion\.Default\Active,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemExclamation\.Default,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemExclamation\.Default\Active,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemAsterisk\.Default,,,
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemAsterisk\.Default\Active,,,

HKCU,AppEvents\EventLabels\.Default,,,"%V_SNDDEFAULT%"
HKCU,AppEvents\EventLabels\AppSystemStart,,,"%V_SNDSTART%"
HKCU,AppEvents\EventLabels\AppSystemExit,,,"%V_SNDEXIT%"
HKCU,AppEvents\EventLabels\AppSystemDefault,,,"%V_SNDDEFAULT%"
HKCU,AppEvents\EventLabels\AppSystemHand,,,"%V_SNDSTOP%"
HKCU,AppEvents\EventLabels\AppSystemQuestion,,,"%V_SNDQUESTION%"
HKCU,AppEvents\EventLabels\AppSystemExclamation,,,"%V_SNDEXCLAM%"
HKCU,AppEvents\EventLabels\AppSystemAsterisk,,,"%V_SNDASTERISK%"
HKCU,AppEvents\EventLabels\AppMaximize,,,"%V_SNDMAXIMIZE%"
HKCU,AppEvents\EventLabels\AppMinimize,,,"%V_SNDMINIMIZE%"
HKCU,AppEvents\EventLabels\AppRestoreDown,,,"%V_SNDRESTOREDOWN%"
HKCU,AppEvents\EventLabels\AppRestoreUp,,,"%V_SNDRESTOREUP%"
HKCU,AppEvents\EventLabels\AppOpen,,,"%V_SNDOPEN%"
HKCU,AppEvents\EventLabels\AppClose,,,"%V_SNDCLOSE%"
HKCU,AppEvents\EventLabels\AppAppGPFault,,,"%V_SNDGPFAULT%"
HKCU,AppEvents\EventLabels\AppMenuCommand,,,"%V_SNDMENUCMD%"
HKCU,AppEvents\EventLabels\AppMenuPopup,,,"%V_SNDMENUPOPUP%"

HKLM,SYSTEM\MediaExtensions\shellx\PropertySheetHandlers\MIDI,,,"midiprop.dll,AddMidiPages"

;OLE 1.0
HKCR,mplayer,,,"%V_MEDIACLIP%"
HKCR,mplayer\Insertable,,,
HKCR,mplayer\shell\open,,,"%V_OPEN%"
HKCR,mplayer\protocol\StdExecute\Server,,,mplayer.exe
HKCR,mplayer\protocol\StdFileEditing\PackageObjects,,,
HKCR,mplayer\protocol\StdFileEditing\Handler,,,mciole.dll
HKCR,mplayer\protocol\StdFileEditing\Server,,,mplayer.exe
HKCR,mplayer\protocol\StdFileEditing\verb\0,,,"%V_MEDIA_PLAY%"
HKCR,mplayer\protocol\StdFileEditing\verb\1,,,"%V_MEDIA_EDIT%"
HKCR,mplayer\shell\open\command,,,"mplayer.exe /play /close %%1"
HKCR,mplayer\CLSID,,,"{0003000E-0000-0000-C000-000000000046}"

;Compatibility with OLE 1.0
HKCR,CLSID\{0003000E-0000-0000-C000-000000000046},,,"%V_MEDIACLIP%"
;HKCR,CLSID\{0003000E-0000-0000-C000-000000000046}\AutoConvertTo,,,"{00022601-0000-0000-C000-000000000046}"
HKCR,CLSID\{0003000E-0000-0000-C000-000000000046}\Insertable,,, 
HKCR,CLSID\{0003000E-0000-0000-C000-000000000046}\TreatAs,,,"{00022601-0000-0000-C000-000000000046}"

HKCR,CLSID\{0003000E-0000-0000-C000-000000000046}\ProgID,,,"MPlayer"
HKCR,CLSID\{0003000E-0000-0000-C000-000000000046}\Ole1Class,,,"MPlayer"

;OLE 2.0
HKCR,mplayer3,,,"%V_MEDIACLIP%"
;HKCR,mplayer3\shell\open,,,"%V_OPEN%"
;HKCR,mplayer3\shell\open\command,,,"mplayer.exe /play /close %%1"
HKCR,mplayer3\Clsid,,,"{00022601-0000-0000-C000-000000000046}"
HKCR,CLSID\{00022601-0000-0000-C000-000000000046},,,"%V_MEDIACLIPOLE2%" 
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\Insertable,,,
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\InprocHandler,,,"ole2.dll"
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\LocalServer,,,"mplayer.exe"
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\verb\1,,,"%V_MEDIA_EDIT%,0,2"
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\verb\0,,,"%V_MEDIA_PLAY%,0,3"
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\AuxUserType\2,,,"%V_MEDIACLIP%" 
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\DataFormats\DefaultSet,,,"mplayer"
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\DataFormats\GetSet\2,,,"8,1,1,1"
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\DataFormats\GetSet\1,,,"3,1,32,1"
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\DataFormats\GetSet\0,,,"Embed Source,1,8,1"
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\MiscStatus,,,"0"
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\MiscStatus\1,,,"384"
HKCR,CLSID\{00022601-0000-0000-C000-000000000046}\ProgID,,,"mplayer3"

;mci extensions
HKCR,.avi,,,mplayer
HKCR,.mmm,,,mplayer
HKCR,.mid,,,mplayer
HKCR,.rmi,,,mplayer

;soundrec
HKCR,soundrec,,,"%V_SOUND%"
HKCR,soundrec\shell,,,play
HKCR,soundrec\shell\open,,,"%V_OPEN%"
HKCR,soundrec\shell\open\command,,,"soundrec.exe %%1"
HKCR,soundrec\protocol\StdExecute\Server,,,soundrec.exe
HKCR,soundrec\protocol\StdFileEditing\PackageObjects,,,
HKCR,soundrec\protocol\StdFileEditing\Server,,,soundrec.exe
HKCR,soundrec\protocol\StdFileEditing\verb\0,,,"%V_SOUND_PLAY%"
HKCR,soundrec\protocol\StdFileEditing\verb\1,,,"%V_SOUND_EDIT%"
HKCR,.wav,,,soundrec

[mmsysapps.files]
general.mif
soundrec.exe

[mmsysinf.files]
midi.inf
motown.inf
wave.inf
auxil.inf
mixer.inf
mci.inf
acm.inf
icm.inf

[mmsys.files]
acmcmprs.dll
avicap.dll
avifile.dll
digitalv.mci
dispdib.dll
midiprop.dll
mmsys.cpl
mmdevldr.386
mmsystem.dll
mmtask.tsk
msacm.dll
msvideo.dll
vcr.mci
winmm.dll

[mmsys.sys.del]
drivers.cpl
indeo.drv
ir21_u.dll
midi.cpl
midiprop.cpl
mm.cpl
mmsound.drv
mpu401.drv
snd.cpl
sndblst.drv
timer.drv
vtdapi.386
vcr16.mci

[mmsys.win.del]
mplayer.hlp
soundrec.hlp
mplayer.ini

[Optional Components]
media_clips

[media_clips]
OptionDesc=%mediaclipdesc%
copyfiles=mediaopt.files
Addreg=mediaopt.reg
InstallDefault=1
Priority=5
SpaceReq=
Installer= ;No custom installer
IconIndex	= 8			;Speaker mini-icon for dialogs

[mediaopt.files]
canyon.mid
chimes.wav
chord.wav
ding.wav
passport.mid
tada.wav
wndsurf1.avi

[mediaopt.reg]
HKCU,AppEvents\Schemes\Apps\.Default\.Default\.Default,,,%10%\media\chord.wav
HKCU,AppEvents\Schemes\Apps\.Default\.Default\.Default\Active,,,1

HKCU,AppEvents\Schemes\Apps\.Default\AppSystemStart\.Default,,,%10%\media\tada.wav
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemStart\.Default\Active,,,1
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemExit\.Default,,,%10%\media\tada.wav
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemExit\.Default\Active,,,1
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemDefault\.Default,,,%10%\media\chord.wav
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemDefault\.Default\Active,,,1
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemHand\.Default,,,%10%\media\chord.wav
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemHand\.Default\Active,,,1
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemQuestion\.Default,,,%10%\media\chord.wav
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemQuestion\.Default\Active,,,1
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemExclamation\.Default,,,%10%\media\chord.wav
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemExclamation\.Default\Active,,,1
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemAsterisk\.Default,,,%10%\media\chord.wav
HKCU,AppEvents\Schemes\Apps\.Default\AppSystemAsterisk\.Default\Active,,,1

[Strings]
MOBASE="Base Multimedia Components"
MSFT="Microsoft"
mediaclipdesc="Multimedia Sound and Video Clips"
V_CHICAGO="Windows Default Scheme"
V_SNDDEFAULT="Default Beep"
V_SNDEXCLAM="Exclamation"
V_SNDSTART="Windows Start"
V_SNDEXIT="Windows Exit"
V_SNDSTOP="Critical Stop"
V_SNDQUESTION="Question"
V_SNDASTERISK="Asterisk"
V_SNDMAXIMIZE="Maximize"
V_SNDMINIMIZE="Minimize"
V_SNDRESTOREUP="Restore Up"
V_SNDRESTOREDOWN="Restore Down"
V_SNDOPEN="Application Open"
V_SNDCLOSE="Application Close"
V_SNDGPFAULT="Application GPFault"
V_SNDMENUCMD="Menu Command"
V_SNDMENUPOPUP="Menu Popup"
V_CLSWAVEFORM="Audio"
V_CLSMIDI="MIDI"
V_CLSMIXER="Mixer"
V_CLSAUDIO="Audio Compression"
V_CLSIMAGE="Image Compression"
V_CLSVIDEO="Motion Video"
V_CLSAUX="Auxiliary"
V_CLSMEDIA="Media Control"
V_CLSJOYSTICK="Joystick"

V_OPEN="Open"
V_PLAY="Play"
V_MEDIACLIP="Media Clip"
V_MEDIACLIPOLE2="Media Clip OLE2"
V_MEDIA_PLAY="&Activate Contents"
V_MEDIA_EDIT="&Edit Package"
V_SOUND="Sound"
V_SOUND_PLAY="&Play"
V_SOUND_EDIT="&Edit"
V_DEFAULT="Default Application"
