;
; CoachAud.inf
; Audio Port Driver for Digital Camera with Coach Chipset
; Windows XP
; Copyright (C) 2007, FotoNation
;
; ===================== Version section =======================

[Version]
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%Provider%
CatalogFile=CoachAud.cat
DriverVer=03/13/2007, 4.69.0.0

; ====================== Files section ========================

[SourceDisksNames]
;1=%InstallDisk% ; this doesn't work on win98
1=%InstallDisk%,,,

[SourceDisksFiles]
CoachAud.sys=1

[DestinationDirs]
CamAud.Files.Sys=10,system32\drivers

[CamAud.Files.Sys]
CoachAud.sys

; ================== Manufacturer & Models section ============

[Manufacturer]
%Mfg.Desc% = Models

[Models]
%Coach1.DevDesc% = CamAud, COACH\AUD&VID_052B&PID_1820
%Coach2.DevDesc% = CamAud, COACH\AUD&VID_052B&PID_4344

; ================== Win9x Device Install section =============

[CamAud]
CopyFiles=CamAud.Files.Sys
AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
AddReg=CamAud.AddReg

[CamAud.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,CamAud.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,CamAud.Wave

; ================== WinNT Device Install section =============

[CamAud.NT]
CopyFiles=CamAud.Files.Sys
Include=ks.inf,wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
AddReg=CamAud.AddReg

[CamAud.NT.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,CamAud.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,CamAud.Wave

[CamAud.NT.Services]
include=wdmaudio.inf
needs=wdmaudio.registration.services
AddService=%CamAud.SvcName%,0x00000002,CamAud.ServiceInstall

[CamAud.ServiceInstall]
DisplayName=%CamAud.SvcDesc%
ServiceType   = 1                  ; SERVICE_KERNEL_DRIVER
StartType     = 3                  ; SERVICE_DEMAND_START
ErrorControl  = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\CoachAud.sys

; ================= Common Device Install section =============

[CamAud.AddReg]
HKR,,AssociatedFilters,,"wdmaud"
HKR,,Driver,,CoachAud.sys
HKR,,NTMPDriver,,"CoachAud.sys,sbemul.sys"

HKR,Drivers,SubClasses,,"wave,mixer"
HKR,Drivers\wave\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\mixer\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,%CamAud.DevDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%CamAud.DevDesc%

[CamAud.Wave]
AddReg=CamAud.Wave.AddReg

[CamAud.Wave.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%CamAud.WaveDesc%

; ==================== String macro section ===================

[Strings]

; ======= Private macro substitutions (non-localizable) =======
; Modification of those strings can cause incorrect installation

CamAud.SvcName = "CoachAud"
CamAud.SvcDesc = "CoachAud"
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"
MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"

; ============== Localizable macro substitutions ==============

Provider= "DV Manufacturer"
InstallDisk="DV Driver"
CamAud.WaveDesc="DV microphone"
Mfg.Desc="DV Manufacturer"
Coach1.DevDesc = "DV Audio"
Coach2.DevDesc = "DV Audio"

