;;  Copyright (c) Analog Devices Inc 2002.  All rights reserved.

[Version]
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
provider=%ADI%
CatalogFile=MidiSyn.cat
DriverVer =09/20/2002,3.3.7.3
[Manufacturer]
%MfgName%=AnalogDevices

[DefaultInstall]
AddReg = MIDI_SYNTH.DeviceRegistration

[AnalogDevices]
%MIDI_SYNTH.DeviceDesc% =  MIDI_SYNTH,    SW\{B0C2EBA2-1099-4e80-A7F1-984910EB435E}

[SourceDisksNames]
222=%DiskDescription%,,,

[SourceDisksFiles]
MidiSyn.sys=222

[DestinationDirs]
MidiSynth.Drv.CopyList = 10,system32\drivers ; %SystemRoot%\system32\drivers

[MidiSynth.Drv.CopyList]
MidiSyn.sys

[MIDI_SYNTH.DeviceRegistration]
HKLM,%RunOnce%,"WDM_MIDISYNTH0",,"rundll32.exe streamci.dll,StreamingDeviceSetup %WDM_MIDISYNTH.DeviceId%,%KSNAME_MIDISYNTH%,%KSCATEGORY_DATATRANSFORM%,%01%\MidiSyn.inf,MIDI_SYNTH.Interface.Install"
HKLM,%RunOnce%,"WDM_MIDISYNTH1",,"rundll32.exe streamci.dll,StreamingDeviceSetup %WDM_MIDISYNTH.DeviceId%,%KSNAME_MIDISYNTH%,%KSCATEGORY_SYNTHESIZER%,%01%\MidiSyn.inf,MIDI_SYNTH.Interface.Install"
HKLM,%RunOnce%,"WDM_MIDISYNTH2",,"rundll32.exe streamci.dll,StreamingDeviceSetup %WDM_MIDISYNTH.DeviceId%,%KSNAME_MIDISYNTH%,%KSCATEGORY_AUDIO%,%01%\MidiSyn.inf,MIDI_SYNTH.Interface.Install"
HKLM,%MediaCategories%\%MIDI_SYNTH.GUID%,Name,,%MIDI_SYNTH.Pin%
HKLM,%MediaCategories%\%MIDI_SYNTH.GUID%,Display,1,00,00,00,00

[MIDI_SYNTH.Interface.Install]
AddReg=MIDI_SYNTH.Interface.AddReg

[MIDI_SYNTH.Interface.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM_MIDISYNTH.FriendlyName%

[MIDI_SYNTH]
CopyFiles=MidiSynth.Drv.CopyList 
AddReg=MIDI_SYNTH.AddReg

[MIDI_SYNTH.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,MidiSyn.sys
HKR,,"Enable Q321467",1,1

[MIDI_SYNTH.Interfaces]
AddInterface = %KSCATEGORY_AUDIO%,%KSNAME_MIDISYNTH%,MIDI_SYNTH.Interface.Install
AddInterface = %KSCATEGORY_DATATRANSFORM%,%KSNAME_MIDISYNTH%,MIDI_SYNTH.Interface.Install
AddInterface = %KSCATEGORY_SYNTHESIZER%,%KSNAME_MIDISYNTH%,MIDI_SYNTH.Interface.Install

[MIDI_SYNTH.Services]
AddService = MidiSyn,0x00000002, MidiSynth_Service_Inst

[MidiSynth_Service_Inst]
DisplayName    = %MidiSynth.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\MidiSyn.sys

;;**************** NT Install ****************
[MIDI_SYNTH.NT]
CopyFiles=MidiSynth.Drv.CopyList
AddReg=MIDI_SYNTH.DeviceRegistration

[MIDI_SYNTH.NT.Services]
AddService = MidiSyn,0x00000002, MidiSynth_Service_Inst

[Strings]
ADI="Analog Devices"
MfgName="Analog Devices, Inc."
MIDI_SYNTH.DeviceDesc = "Analog Devices Wavetable Synthesizer(WDM)"
MidiSynth.SvcDesc = "MidiSyn"

MIDI_SYNTH.Pin="SoundMAX WDM MIDI"
MIDI_SYNTH.GUID         = "{797B61F0-004F-47d7-9F1E-808BCA0840B2}"
WDM_MIDISYNTH.DeviceId     = "{B0C2EBA2-1099-4e80-A7F1-984910EB435E}"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
RunOnce = "SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
Proxy.CLSID   =   "{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSNAME_MIDISYNTH=  "MidiSyn"


KSCATEGORY_DATATRANSFORM =  "{2EB07EA0-7E70-11D0-A5D6-28DB04C10000}"
KSCATEGORY_SYNTHESIZER   =  "{DFF220F3-F70F-11D0-B917-00A0C9223196}"
KSCATEGORY_AUDIO         =  "{6994AD04-93EF-11D0-A3CC-00A0C9223196}"

DiskDescription="SoundMAX Disk"
WDM_MIDISYNTH.FriendlyName = "Analog Devices Kernel wavetable Synth"

