; for www.skyun.org 2009-09-01 ZYDF
; ECTIVA Audio 5.1 Series INF file
;
; Feature  : Enhanced (WDM)
; Language : English
;
; Date     : 12 Feb 2004
; Revision : 1.00.003
;
; Copyright 1995-2004, Creative Technology Ltd.

[Version]
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
provider=%MfgName%
CatalogFile=ECTIVA.cat
DriverVer=02/12/2004,5.12.01.004

[SourceDisksNames]
101 = %DriverDisk1%,,

[SourceDisksFiles]
ECTIVA.sys   = 101
ETVRes.Dll   = 101
ECTIVA.dll   = 101
A3d.dll      = 101

[Manufacturer]
%MfgName%=ECTIVA

[ControlFlags]
ExcludeFromSelect = *

[ECTIVA]
%ECTIVA.DeviceDesc%=ECTIVA_Device,PCI\VEN_1102&DEV_0006&SUBSYS_10041102 ; ECTIVA Audio 5.1

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;		     ECTIVA 	             ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

[ECTIVA_Device]
AlsoInstall=ks.registration(ks.inf),wdmaudio.registration(wdmaudio.inf)
CopyFiles=ECTIVA.CopyList,Resource.CopyList
AddReg=ECTIVA.AddReg,ECTIVA_NAMES.AddRegECTIVA_Dll.AddReg

[ECTIVA_Device.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus%,       ECTIVA.Interface.DMus
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus%,      ECTIVA.Interface.DMus
AddInterface=%KSCATEGORY_SYNTHESIZER%,%KSNAME_DMus%, ECTIVA.Interface.DMus
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,       ECTIVA.Interface.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,      ECTIVA.Interface.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,     ECTIVA.Interface.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,   ECTIVA.Interface.Topology
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_Topology%,ECTIVA.Interface.Topology

[ECTIVA.Interface.DMus]
AddReg=ECTIVA.Interface.DMus.AddReg
[ECTIVA.Interface.DMus.AddReg]
HKR,,FriendlyName,,%ECTIVA.DMus.szPname%
HKR,,CLSID,,%Proxy.CLSID%

[ECTIVA.Interface.Wave]
AddReg=ECTIVA.Interface.Wave.AddReg
[ECTIVA.Interface.Wave.AddReg]
HKR,,FriendlyName,,%ECTIVA.Wave.szPname%
HKR,,CLSID,,%Proxy.CLSID%

[ECTIVA.Interface.Topology]
AddReg=ECTIVA.Interface.Topo.AddReg
;; warning!! must be "Topo" because "Topology" is too long
[ECTIVA.Interface.Topo.AddReg]
HKR,,FriendlyName,,%ECTIVA.Topology.szPname%

[ECTIVA.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,ECTIVA.sys
HKR,,NTMPDriver,,"ECTIVA.sys,sbemul.sys"
HKR,Drivers,SubClasses,,"wave,midi,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,,%ECTIVA.DeviceDesc%
HKR,Drivers\midi\wdmaud.drv, Description,,%ECTIVA.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%ECTIVA.DeviceDesc%

HKR,"Product","Resource",,"\DosDevices\%11%\ETVRes.Dll"
HKR,"Config","Refresh",1,1,0,0,0

[ECTIVA_Dll.AddReg]
HKLM,%RegECTIVA%,"MixerName",,%ECTIVA.Topology.szPname%
HKLM,%RegECTIVA%,"WaveInName",,%ECTIVA.Wave.szPname%
HKLM,%RegECTIVA%,"WaveOutName",,%ECTIVA.Wave.szPname%
HKLM,%RegECTIVA%,"MIDISynthName",,%ECTIVA.DMus.szPname%
HKLM,%RegECTIVA%,"MixerDef",,%MixerDef%
HKLM,%RegCreaf%,"DEFAULTMIDI",,%ECTIVA.DMus.szPname%

;;**************** NT Install ****************

[ECTIVA_Device.NT]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=ECTIVA.CopyList,Resource.CopyList
AddReg=ECTIVA.AddReg,ECTIVA_NAMES.AddReg,ECTIVA_Dll.AddReg

[ECTIVA_Device.NT.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_DMus%,       ECTIVA.Interface.DMus
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_DMus%,      ECTIVA.Interface.DMus
AddInterface=%KSCATEGORY_SYNTHESIZER%,%KSNAME_DMus%, ECTIVA.Interface.DMus
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,       ECTIVA.Interface.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,      ECTIVA.Interface.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,     ECTIVA.Interface.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,   ECTIVA.Interface.Topology
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_Topology%,ECTIVA.Interface.Topology

[ECTIVA_Device.NT.Services]
AddService = ECTIVA, 0x00000002, ECTIVA_Service_Inst

[ECTIVA_Service_Inst]
DisplayName    = %ECTIVA.DeviceDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\ECTIVA.sys


;;;;;;;;;;;;;;;;;;;;;;;;
;;   Common Section   ;;
;;;;;;;;;;;;;;;;;;;;;;;;

[DestinationDirs]
ECTIVA.CopyList   = 10,system32\drivers
DefaultDestDir    = 10,system32\drivers
Resource.CopyList = 11

[ECTIVA.CopyList]
ECTIVA.sys

[Resource.CopyList]
ETVRes.Dll
ECTIVA.dll
A3d.dll

[ECTIVA_NAMES.AddReg]
HKLM,%MediaCategories%\%ECTIVAGUID.PhoneVolume%,Name,,%ECTIVANode.PhoneVolume%
HKLM,%MediaCategories%\%ECTIVAGUID.PhoneVolume%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%ECTIVAGUID.PhoneMute%,Name,,%ECTIVANode.PhoneMute%
HKLM,%MediaCategories%\%ECTIVAGUID.PhoneMute%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%ECTIVAGUID.RecordControls%,Name,,%ECTIVANode.RecordControls%
HKLM,%MediaCategories%\%ECTIVAGUID.RecordControls%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%ECTIVAGUID.Reverb%,Name,,%ECTIVANode.Reverb%
HKLM,%MediaCategories%\%ECTIVAGUID.Reverb%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%ECTIVAGUID.Chorus%,Name,,%ECTIVANode.Chorus%
HKLM,%MediaCategories%\%ECTIVAGUID.Chorus%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%ECTIVAGUID.Digital%,Name,,%ECTIVANode.Digital%
HKLM,%MediaCategories%\%ECTIVAGUID.Digital%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%ECTIVAGUID.Fader%,Name,,%ECTIVANode.Fader%
HKLM,%MediaCategories%\%ECTIVAGUID.Fader%,Display,1,00,00,00,00


[Strings]
MfgName                  ="Creative Technology Ltd."

ECTIVA.DeviceDesc          ="ECTIVA Audio 5.1 (WDM)"
ECTIVA.Wave.szPname    	   ="ECTIVA Audio 5.1"
ECTIVA.Topology.szPname    ="ECTIVA Audio 5.1"
ECTIVA.DMus.szPname    	   ="ECTIVA SW Synthesizer"

DriverDisk1              ="ECTIVA Audio 5.1 (WDM) Driver Disk or CD"

MediaCategories          ="SYSTEM\CurrentControlSet\Control\MediaCategories"
RegCreaf                 ="Software\ECTIVA"
RegECTIVA                  ="Software\ECTIVA\ECTIVA"
RegMixerName             ="Software\ECTIVA\MixerName"
MixerDef                 ="MixDef.Ini"

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}"
KSCATEGORY_TOPOLOGY      ="{DDA54A40-1E4C-11D1-A050-405705C10000}"
KSCATEGORY_SYNTHESIZER   ="{DFF220F3-F70F-11D0-B917-00A0C9223196}"
KSNAME_Wave              ="Wave"
KSNAME_Topology          ="Topology"
KSNAME_DMus              ="FMSynth"

;; Nodes (non-localizeable)
ECTIVAGUID.PhoneVolume     ="{381CE89E-F873-40c9-A33B-D00ABB39A709}"
ECTIVAGUID.PhoneMute       ="{F5083FF2-4F53-4879-8A4D-E55D7ADAD7E1}"
ECTIVAGUID.RecordControls  ="{A1A92EBE-8345-4174-9150-81BD83C1CAD0}"
ECTIVAGUID.Reverb          ="{D4F24431-D560-11d3-A839-00902744A2E3}"
ECTIVAGUID.Chorus          ="{D4F24432-D560-11d3-A839-00902744A2E3}"
ECTIVAGUID.Digital         ="{B889DF81-C632-4d81-AFD0-E2BC80B2C08A}"
ECTIVAGUID.Fader           ="{D4F24434-D560-11d3-A839-00902744A2E3}"

;; Nodes (localizeable)
ECTIVANode.PhoneVolume     ="TAD-In Volume"
ECTIVANode.PhoneMute       ="TAD-In Mute"
ECTIVANode.RecordControls  ="Recording Control"
ECTIVANode.Reverb          ="Reverb"
ECTIVANode.Chorus          ="Chorus"
ECTIVANode.Digital         ="Digital Output Only"
ECTIVANode.Fader           ="Front Rear Balance"

