[Version]
CatalogFile = Audio.cat
Signature = "$CHICAGO$"
Class = MEDIA
Provider = %ProviderName%
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
DriverVer = 20/01/2009, 1.0.0.0

[SourceDisksNames]
222="Audio Driver Disk","",222

[SourceDisksFiles]
Audio.sys=222

;;This syntax is only recognized on Windows XP and above- it is needed to install 64-bit drivers on
;;Windows Server 2003 Service Pack 1 and above.

[Manufacturer]
%MfgName% = MicrosoftDS, NTAMD64, NTIA64

;;  For Windows Server 2003 Service Pack 1 and above, a 64-bit OS will not install a driver
;;  unless the Manufacturer and Models Sections explicitly show it is a driver for that platform
;;  But the individual model section decorations (or lack thereof) work as they always have.
;;  All of the model sections referred to are undecorated or NT-decorated, hence work on all platforms

[MicrosoftDS]
%Audio.DeviceDesc% = Audio, USB\VID_0458&PID_7069&MI_01

;; This section enables installing on x64 systems

[MicrosoftDS.NTAMD64]
%Audio.DeviceDesc% = Audio, USB\VID_0458&PID_7069

;;  This section enables installing on Itanium systems

[MicrosoftDS.NTIA64]
%Audio.DeviceDesc% = Audio, USB\VID_0458&PID_7069

[DestinationDirs]
Audio.CopyList = 10, system32\drivers

;======================================================
; Audio
;======================================================
[Audio]
AlsoInstall = ks.registration(ks.inf), wdmaudio.registration(wdmaudio.inf)
CopyFiles = Audio.CopyList
AddReg = Audio.AddReg

[Audio.CopyList]
Audio.sys

[Audio.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Wave%, Audio.I.Wave
;AddInterface=%KSCATEGORY_RENDER%, %KSNAME_Wave%, Audio.I.Wave
AddInterface=%KSCATEGORY_CAPTURE%, %KSNAME_Wave%, Audio.I.Wave
AddInterface=%KSCATEGORY_AUDIO%, %KSNAME_Topology%, Audio.I.Topo

[Audio.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,Audio.sys
HKR,,NTMPDriver,,"Audio.sys,sbemul.sys"

HKR,Drivers,SubClasses,,"wave,midi,mixer"
;HKR,Drivers,SubClasses,,"wave,mixer"

HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
;HKR,Drivers\midi\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv

HKR,Drivers\wave\wdmaud.drv,Description,,%Audio.DeviceDesc%
;HKR,Drivers\midi\wdmaud.drv,Description,,%MSVAD_MIDI%
HKR,Drivers\mixer\wdmaud.drv,Description,,%Audio.DeviceDesc%

HKLM,%MediaCategories%\%Audio.NameGuid%,Name,,%Audio.Name%

;======================================================
; COMMON
;======================================================
[Audio.I.Wave]
AddReg = Audio.I.Wave.AddReg

[Audio.I.Wave.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%Audio.Wave.szPname%

[Audio.I.Topo]
AddReg = Audio.I.Topo.AddReg

[Audio.I.Topo.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%Audio.Topo.szPname%

;======================================================
; Audio
;======================================================
[Audio.NT]
Include = ks.inf, wdmaudio.inf
Needs = KS.Registration, WDMAUDIO.Registration
CopyFiles = Audio.CopyList
AddReg = Audio.AddReg

[Audio.NT.Interfaces]
AddInterface = %KSCATEGORY_AUDIO%, %KSNAME_Wave%, Audio.I.Wave
;AddInterface = %KSCATEGORY_RENDER%, %KSNAME_Wave%, Audio.I.Wave
AddInterface = %KSCATEGORY_CAPTURE%, %KSNAME_Wave%, Audio.I.Wave
AddInterface = %KSCATEGORY_AUDIO%,%KSNAME_Topology%, Audio.I.Topo

[Audio.NT.Services]
AddService = Audio, 0x00000002, Audio_Service_Inst

[Audio_Service_Inst]
DisplayName = %Audio.SvcDesc%
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\Audio.sys

;======================================================
; COMMON
;======================================================
[Strings]
ProviderName = ""
MfgName = ""
Audio.DeviceDesc = "Audio Device"

Audio.Wave.szPname = "Wave"
Audio.Topo.szPname = "Topology"
Audio_MIDI = "Audio -> WDM Midi Device"

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}"

KSNAME_Wave = "Wave"
KSNAME_Topology = "Topology"

Audio.SvcDesc = "Audio Device"

MediaCategories = "SYSTEM\CurrentControlSet\Control\MediaCategories"

Audio.NameGuid = "{946A7B1A-EBBC-422a-A81F-F07C8D40D3B4}"
Audio.Name = "Audio"


