;
;C-Media USB Audio Class 1.0/2.0 UAA Driver
;

[Version]
signature="$WINDOWS NT$"
Class=Media
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%CMEDIA%
Catalogfile=MS7926.cat
DriverVer=04/25/2014,8.1.12.9

[SourceDisksNames]
1000=%cdname%,,,

[SourceDisksFiles.x86]
MS7926.SYS=1000,\x86
CMEffectAPO_MS7926.dll=1000,\x86
CMCplExt_MS7926.dll=1000,\x86
CMWrp32.dll=1000,\x86
CMAPO232.dll=1000,\x86
CMFilt32.sys=1000,\x86

[SourceDisksFiles.amd64]
MS7926.SYS=1000,\x64
CMEffectAPO_MS7926.dll=1000,\x64
CMCplExt_MS7926.dll=1000,\x64
CMWrp64.dll=1000,\x64
CMAPO264.dll=1000,\x64
CMAPO232.dll=1000,\x86
CMFilt64.sys=1000,\x64

[DestinationDirs]
DefaultDestDir=12
MS7926.CopyFiles=12
CMEFFECT.CopyFiles=11	
CTSysFx32.CopyFiles = 11
CTSysFx64.CopyFiles = 11
CTSysFx3264.CopyFiles = 10,SysWow64
CTFilt32.CopyFiles = 12
CTFilt64.CopyFiles = 12


[SignatureAttributes]
MS7926.SYS=SignatureAttributes.DRM
CMEffectAPO_MS7926.dll=SignatureAttributes.PETrust
CMWrp32.dll=SignatureAttributes.PETrust
CMWrp64.dll=SignatureAttributes.PETrust
CMAPO232.dll=SignatureAttributes.PETrust
CMAPO264.dll=SignatureAttributes.PETrust

[SignatureAttributes.DRM]
DRMLevel=1300

[SignatureAttributes.PETrust]
PETrust=true

[Manufacturer]
%CMEDIA%=C-MEDIA,NTamd64

[C-MEDIA]
%MS7926.DeviceDesc%=MS7926,USB\VID_0DB0&PID_7926&MI_00

[C-MEDIA.NTamd64]
%MS7926.DeviceDesc%=MS7926,USB\VID_0DB0&PID_7926&MI_00

;---------------------------------------------------------------
;                x 86  D D I n s t a l l
;---------------------------------------------------------------

[MS7926]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=MS7926.AddReg, MS7926_NAMES.AddReg, SfxFx.AddReg
AddProperty=OEMCustomBranding.AddProperty
CopyFiles=MS7926.CopyFiles, CMEFFECT.CopyFiles,CTFilt32.CopyFiles,CTSysFx32.CopyFiles
RegisterDlls=CTAPO.RegisterDlls

[MS7926.HW]
AddReg=CTFilterHW.AddReg

;---------------------------------------------------------------
;                A M D 64  D D I n s t a l l
;---------------------------------------------------------------

[MS7926.NTamd64]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration,WDMAUDIO.Registration
AddReg=MS7926.AddReg, MS7926_NAMES.AddReg, SfxFx.AddReg, CTAPO32.AddReg
AddProperty=OEMCustomBranding.AddProperty
CopyFiles=MS7926.CopyFiles, CMEFFECT.CopyFiles,CTFilt64.CopyFiles,CTSysFx64.CopyFiles,CTSysFx3264.CopyFiles
RegisterDlls=CTAPO.RegisterDlls.NTamd64

[MS7926.NTamd64.HW]
AddReg=CTFilterHW.AddReg

[OEMCustomBranding.AddProperty]
DeviceVendorWebSite,,,,"http://www.cmedia.com.tw" ; Place your URL here

;---------------------------------------------------------------
;                I n t e r f a c e s
;---------------------------------------------------------------

[MS7926.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPEAKER.WAVE%,Audio.I.SPEAKER.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_SPEAKER.WAVE%,Audio.I.SPEAKER.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPDIFOUT.WAVE%,Audio.I.SPDIFOUT.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_SPDIFOUT.WAVE%,Audio.I.SPDIFOUT.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_HPOUT.WAVE%,Audio.I.HPOUT.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_HPOUT.WAVE%,Audio.I.HPOUT.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_RECIN.WAVE%,Audio.I.RECIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_RECIN.WAVE%,Audio.I.RECIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_LINEIN.WAVE%,Audio.I.LINEIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_LINEIN.WAVE%,Audio.I.LINEIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPDIFIN.WAVE%,Audio.I.SPDIFIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_SPDIFIN.WAVE%,Audio.I.SPDIFIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_GLOBAL.TOPO%,Audio.I.GLOBAL.TOPO
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_GLOBAL.TOPO%,Audio.I.GLOBAL.TOPO

[MS7926.NTamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPEAKER.WAVE%,Audio.I.SPEAKER.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_SPEAKER.WAVE%,Audio.I.SPEAKER.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPDIFOUT.WAVE%,Audio.I.SPDIFOUT.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_SPDIFOUT.WAVE%,Audio.I.SPDIFOUT.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_HPOUT.WAVE%,Audio.I.HPOUT.WAVE
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_HPOUT.WAVE%,Audio.I.HPOUT.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_RECIN.WAVE%,Audio.I.RECIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_RECIN.WAVE%,Audio.I.RECIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_MICIN.WAVE%,Audio.I.MICIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_LINEIN.WAVE%,Audio.I.LINEIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_LINEIN.WAVE%,Audio.I.LINEIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_SPDIFIN.WAVE%,Audio.I.SPDIFIN.WAVE
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_SPDIFIN.WAVE%,Audio.I.SPDIFIN.WAVE

AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_GLOBAL.TOPO%,Audio.I.GLOBAL.TOPO
AddInterface=%KSCATEGORY_TOPOLOGY%,%KSNAME_GLOBAL.TOPO%,Audio.I.GLOBAL.TOPO

[Audio.I.SPEAKER.WAVE]
AddReg=MS7926.I.SPEAKER.WAVE.AddReg

[Audio.I.SPDIFOUT.WAVE]
AddReg=MS7926.I.SPDIFOUT.WAVE.AddReg

[Audio.I.HPOUT.WAVE]
AddReg=MS7926.I.HPOUT.WAVE.AddReg

[Audio.I.RECIN.WAVE]
AddReg=MS7926.I.RECIN.WAVE.AddReg

[Audio.I.MICIN.WAVE]
AddReg=MS7926.I.MICIN.WAVE.AddReg

[Audio.I.LINEIN.WAVE]
AddReg=MS7926.I.LINEIN.WAVE.AddReg

[Audio.I.SPDIFIN.WAVE]
AddReg=MS7926.I.SPDIFIN.WAVE.AddReg

[Audio.I.GLOBAL.TOPO]
AddReg=MS7926.I.GLOBAL.TOPO.AddReg, CTSysFx.AddReg

;---------------------------------------------------------------
;                A d d R e g
;---------------------------------------------------------------
[MS7926.AddReg]
HKR,,Driver,,MS7926.sys
HKR,,AssociatedFilters,,"wdmaud,redbook"
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,,%MS7926.Audio.DeviceDesc%
HKR,Drivers\midi\wdmaud.drv,Description,,%MS7926.Audio.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%MS7926.Audio.DeviceDesc%

[CTFilterHW.AddReg]
HKR,,"UpperFilters",0x00010000,"CMfilt"


[MS7926_NAMES.AddReg]
HKLM,%MediaCategories%\%MS7926GUID.SpdifOut%,Name,,%MS7926Node.SpdifOut%
HKLM,%MediaCategories%\%MS7926GUID.SpdifOut%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%MS7926GUID.SpdifIn%,Name,,%MS7926Node.SpdifIn%
HKLM,%MediaCategories%\%MS7926GUID.SpdifIn%,Display,1,00,00,00,00

HKLM,%MediaCategories%\%HDAGuidStereoMixPin%,Name,,%HDAStereoMixPinName%
HKLM,%MediaCategories%\%HDAGuidStereoMixPin%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%HDAGuidAuxInPin%,Name,,%HDAAuxInPinName%
HKLM,%MediaCategories%\%HDAGuidAuxInPin%,Display,1,00,00,00,00

[MS7926.I.SPEAKER.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MS7926.SPEAKER.WAVE.szPname%

[MS7926.I.SPDIFOUT.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MS7926.SPDIFOUT.WAVE.szPname%

[MS7926.I.HPOUT.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MS7926.HPOUT.WAVE.szPname%

[MS7926.I.RECIN.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MS7926.RECIN.WAVE.szPname%

[MS7926.I.MICIN.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MS7926.MICIN.WAVE.szPname%

[MS7926.I.LINEIN.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MS7926.LINEIN.WAVE.szPname%

[MS7926.I.SPDIFIN.WAVE.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MS7926.SPDIFIN.WAVE.szPname%

[MS7926.I.GLOBAL.TOPO.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%MS7926.GLOBAL.TOPO.szPname%

;;Regsvr 32bit APO
[CTAPO32.AddReg]
HKCR,TypeLib\%CT_APO_TypeLib%\1.0\0\win32,,0,%10%\SysWOW64\CMAPO232.dll
HKCR,Wow6432Node\AppID\CTAPO.DLL,AppID,0,%CT_APO_AppID%
HKCR,Wow6432Node\AppID\%CT_APO_AppID%,,0,"CTAPO"
HKCR,Wow6432Node\CLSID\%GUID_RENDER_EFFECTID%,,0,"CEffectNodeInfo Class"
HKCR,Wow6432Node\CLSID\%GUID_RENDER_EFFECTID%\InProcServer32,,0,%10%\SysWOW64\CMAPO232.dll
HKCR,Wow6432Node\CLSID\%GUID_RENDER_EFFECTID%\InProcServer32,ThreadingModel,0,Both
HKCR,Wow6432Node\CLSID\%GUID_APO1_LFX%,,0,"CTAPOContainerLFX Class"
HKCR,Wow6432Node\CLSID\%GUID_APO1_LFX%\InProcServer32,,0,%10%\SysWOW64\CMAPO232.dll
HKCR,Wow6432Node\CLSID\%GUID_APO1_LFX%\InProcServer32,ThreadingModel,0,Both
HKCR,Wow6432Node\CLSID\%GUID_APO1_GFX%,,0,"CTAPOContainerGFX Class"
HKCR,Wow6432Node\CLSID\%GUID_APO1_GFX%\InProcServer32,,0,%10%\SysWOW64\CMAPO232.dll
HKCR,Wow6432Node\CLSID\%GUID_APO1_GFX%\InProcServer32,ThreadingModel,0,Both
HKCR,Wow6432Node\CLSID\%GUID_APO1_SFX%,,0,"CTAPOContainerSFX Class"
HKCR,Wow6432Node\CLSID\%GUID_APO1_SFX%\InProcServer32,,0,%10%\SysWOW64\CMAPO232.dll
HKCR,Wow6432Node\CLSID\%GUID_APO1_SFX%\InProcServer32,ThreadingModel,0,Both
HKCR,Wow6432Node\CLSID\%GUID_APO1_MFX%,,0,"CTAPOContainerMFX Class"
HKCR,Wow6432Node\CLSID\%GUID_APO1_MFX%\InProcServer32,,0,%10%\SysWOW64\CMAPO232.dll
HKCR,Wow6432Node\CLSID\%GUID_APO1_MFX%\InProcServer32,ThreadingModel,0,Both
HKCR,Wow6432Node\CLSID\%GUID_APO1_EFX%,,0,"CTAPOContainerEFX Class"
HKCR,Wow6432Node\CLSID\%GUID_APO1_EFX%\InProcServer32,,0,%10%\SysWOW64\CMAPO232.dll
HKCR,Wow6432Node\CLSID\%GUID_APO1_EFX%\InProcServer32,ThreadingModel,0,Both

[SfxFx.AddReg]
HKCR,CLSID\%SYSFX_POSTMIX_CLSID%,,,"CMEffect Class (Global)"
HKCR,CLSID\%SYSFX_POSTMIX_CLSID%\InProcServer32,,,%11%\CMEffectAPO_MS7926.dll
HKCR,CLSID\%SYSFX_POSTMIX_CLSID%\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\%SYSFX_PREMIX_CLSID%,,,"CMEffect Class (Local)"
HKCR,CLSID\%SYSFX_PREMIX_CLSID%\InProcServer32,,,%11%\CMEffectAPO_MS7926.dll
HKCR,CLSID\%SYSFX_PREMIX_CLSID%\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\%SYSFX_UI_CLSID%,,,"CMEffect PropPageExt Class"
HKCR,CLSID\%SYSFX_UI_CLSID%\InProcServer32,,,%11%\CMCplExt_MS7926.dll
HKCR,CLSID\%SYSFX_UI_CLSID%\InProcServer32,ThreadingModel,,"Apartment"

HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "FriendlyName", ,"Global CMEffect Class"
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "Copyright", ,"Copyright (c) C-Media Electronics Inc. All Rights Reserved"
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "MajorVersion", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "MinorVersion", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "Flags", %REG_DWORD%, 0x00000004
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "MinInputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "MaxInputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "MinOutputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "MaxOutputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "MaxInstances", %REG_DWORD%, 0xffffffff
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "NumAPOInterfaces", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_POSTMIX_CLSID%, "APOInterface0", ,"{FD7F2B29-24D0-4B5C-B177-592C39F9CA10}"

HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "FriendlyName", ,"Local CMEffect Class"
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "Copyright", ,"Copyright (c) C-Media Electronics Inc. All Rights Reserved"
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "MajorVersion", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "MinorVersion", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "Flags", %REG_DWORD%, 0x0000000c
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "MinInputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "MaxInputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "MinOutputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "MaxOutputConnections", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "MaxInstances", %REG_DWORD%, 0xffffffff
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "NumAPOInterfaces", %REG_DWORD%, 1
HKCR,AudioEngine\AudioProcessingObjects\%SYSFX_PREMIX_CLSID%, "APOInterface0", ,"{FD7F2B29-24D0-4B5C-B177-592C39F9CA10}"

[CTSysFx.AddReg]

HKR,"FX\\0",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\0",%PKEY_FX_Association%,,%KSNODETYPE_HEADPHONES%
HKR,"FX\\0",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%

HKR,"FX\\0",%PKEY_FX_StreamEffectClsid%,,%CHAINER_SFX_CLSID%
HKR,"FX\\0",%PKEY_FX_ModeEffectClsid%,,%CHAINER_MFX_CLSID%
HKR,"FX\\0",%PKEY_FX_EndpointEffectClsid%,,%CHAINER_EFX_CLSID%
HKR,"FX\\0",%PKEY_SFX_APO1%,,%GUID_APO1_SFX%
HKR,"FX\\0",%PKEY_MFX_APO1%,,%GUID_APO1_MFX%
HKR,"FX\\0",%PKEY_EFX_APO1%,,%GUID_APO1_EFX%
HKR,"FX\\0",%PKEY_SFX_APO2%,,%GUID_APO2_SFX%
HKR,"FX\\0",%PKEY_MFX_APO2%,,%GUID_APO2_MFX%
;HKR,"FX\\0",%PKEY_EFX_APO2%,,%GUID_APO2_EFX%
HKR,"FX\\0",%PKEY_APO_NUM%,0x10001,%NUM_APO_SET%
HKR,"FX\\0",%PKEY_CT_APO_CUSTOM_KEY%,,%CT_APO_CUSTOM_VALUE%
HKR,"FX\\0",%PKEY_SFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%
HKR,"FX\\0",%PKEY_MFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%
HKR,"FX\\0",%PKEY_EFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%

HKR,"EP\\0",%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_HEADPHONES%
HKR,"EP\\0",%PKEY_RENDER_EFFECTID%,,%GUID_RENDER_EFFECTID%
HKR,"EP\\0",%PKEY_AudioEndpoint_Supports_EventDriven_Mode%,0x00010001,0x1

HKR,"FX\\1",%PKEY_ItemNameDisplay%,,%SYSFX_FriendlyName%
HKR,"FX\\1",%PKEY_FX_UiClsid%,,%SYSFX_UI_CLSID%
HKR,"FX\\1",%PKEY_FX_StreamEffectClsid%,,%SYSFX_STREAM_CLSID%
HKR,"FX\\1",%PKEY_SFX_ProcessingModes_Supported_For_Streaming%,0x00010000,%AUDIO_SIGNALPROCESSINGMODE_DEFAULT%
HKR,"FX\\1",%PKEY_FX_Association%,,%KSNODETYPE_MICROPHONE%
HKR,"EP\\1",%PKEY_AudioEndpoint_Association%,,%KSNODETYPE_MICROPHONE%
HKR,"EP\\1",%PKEY_AudioEndpoint_Supports_EventDriven_Mode%,0x00010001,0x1

[CTAPO.RegisterDlls]
11,,CMWrp32.dll,1
11,,CMAPO232.dll,1

[CTAPO.RegisterDlls.NTamd64]
11,,CMWrp64.dll,1
11,,CMAPO264.dll,1

;---------------------------------------------------------------
;                Copy Files
;---------------------------------------------------------------

[MS7926.CopyFiles]
MS7926.SYS

[CMEFFECT.CopyFiles]
CMEffectAPO_MS7926.dll 
CMCplExt_MS7926.dll

[CTSysFx32.CopyFiles]
CMWrp32.dll
CMAPO232.dll

[CTSysFx64.CopyFiles]
CMWrp64.dll
CMAPO264.dll

[CTSysFx3264.CopyFiles]
CMAPO232.dll

[CTFilt32.CopyFiles]
CMFilt32.sys

[CTFilt64.CopyFiles]
CMFilt64.sys

;---------------------------------------------------------------
;                S e r v i c e s  
;---------------------------------------------------------------

[MS7926.Services]
AddService=MS7926, 0x00000002, MS7926.ServiceInstall
AddService=CMfilt, 0x00000000, Filter_Service_Install

[MS7926.NTamd64.Services]
AddService=MS7926, 0x00000002, MS7926.ServiceInstall
AddService=CMfilt, 0x00000000, Filter_Service_Install.NTamd64

[MS7926.ServiceInstall]
DisplayName=%MS7926.DeviceDesc%
ServiceType=%SERVICE_KERNEL_DRIVER%
StartType=%SERVICE_DEMAND_START%
ErrorControl=%SERVICE_ERROR_NORMAL%
ServiceBinary=%12%\MS7926.SYS
[Filter_Service_Install]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\CMfilt32.sys

[Filter_Service_Install.NTamd64]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\CMfilt64.sys

;---------------------------------------------------------------
;                S t r i n g s
;---------------------------------------------------------------

[Strings]
; non-localizeable
Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSCATEGORY_RENDER="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_CAPTURE="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_AUDIO="{6994AD04-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_TOPOLOGY = "{DDA54A40-1E4C-11D1-A050-405705C10000}" ; non-localizable
KSCATEGORY_REALTIME = "{EB115FFC-10C8-4964-831D-6DCB02E6F23F}" ; non-localizable


KSNAME_SPEAKER.WAVE="SPKOut00Wave"
KSNAME_SPDIFOUT.WAVE="SPDIFOut00Wave"
KSNAME_HPOUT.WAVE="HPOut00Wave"
KSNAME_RECIN.WAVE="RecIn00Wave"
KSNAME_MICIN.WAVE="MicIn00Wave"
KSNAME_LINEIN.WAVE="LineIn00Wave"
KSNAME_SPDIFIN.WAVE="SPDIFIn00Wave"
KSNAME_GLOBAL.TOPO="GlobalTopo"

SERVICE_KERNEL_DRIVER=1
SERVICE_DEMAND_START=3
SERVICE_ERROR_NORMAL=1
REG_DWORD=0x00010001

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"

;localizeable
MS7926GUID.SpdifOut	="{12C15946-BA58-42c1-9F11-8341E2198622}"
MS7926GUID.SpdifIn	="{017D895C-7AE7-4f4d-B78C-CD1FFC0CE776}"
HDAGuidStereoMixPin 	="{8c5716e6-c984-492e-a2fb-1385f2d0f3c9}"
HDAGuidAuxInPin 	="{5f4bb488-a646-408a-9265-8647f9c374d4}"

CMEDIA="C-MEDIA Inc."
MS7926.DeviceDesc="MS7926 USB Audio Driver"
MS7926.SPEAKER.WAVE.szPname="Speaker"
MS7926.SPDIFOUT.WAVE.szPname="SpdifOut"
MS7926.HPOUT.WAVE.szPname="Headphone"
MS7926.RECIN.WAVE.szPname="Capture"
MS7926.MICIN.WAVE.szPname="MicIn"
MS7926.LINEIN.WAVE.szPname="LineIn"
MS7926.SPDIFIN.WAVE.szPname="SpdifIn"
MS7926.GLOBAL.TOPO.szPname="Global Mixer"
MS7926.Audio.DeviceDesc="MS7926 Audio"
cdname="USB Audio Class 1.0/2.0 Device Installation Disk"

MS7926Node.SpdifOut="SPDIF Out"
MS7926Node.SpdifIn="SPDIF In"
HDAStereoMixPinName="Stereo Mix"
HDAAuxInPinName="Aux In"

;; These are the name strings for the wave miniports displayed in mmsys.cpl
;;

KSNODETYPE_ANY      			  = "{00000000-0000-0000-0000-000000000000}"
KSNODETYPE_SPEAKER  			  = "{DFF21CE1-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_LINE_CONNECTOR 		  = "{DFF21FE3-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_HEADSET_SPEAKERS               = "{DFF21CE6-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_HEADPHONES                     = "{DFF21CE2-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_DESKTOP_SPEAKER                = "{DFF21CE4-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_SPDIF_INTERFACE                = "{DFF21FE5-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_MICROPHONE 			  = "{DFF21BE1-F70F-11D0-B917-00A0C9223196}"
KSNODETYPE_DESKTOP_MICROPHONE             = "{DFF21BE2-F70F-11D0-B917-00A0C9223196}"
;;
;; PropertyKey GUIDS
;;

PKEY_FX_Association          = "{D04E05A6-594B-4FB6-A80D-01AF5EED7D1D},0"
PKEY_FX_PreMixClsid          = "{D04E05A6-594B-4FB6-A80D-01AF5EED7D1D},1"
PKEY_FX_PostMixClsid         = "{D04E05A6-594B-4FB6-A80D-01AF5EED7D1D},2"
PKEY_FX_UiClsid              = "{D04E05A6-594B-4FB6-A80D-01AF5EED7D1D},3"
PKEY_FX_StreamEffectClsid    = "{D04E05A6-594B-4fb6-A80D-01AF5EED7D1D},5"
PKEY_FX_ModeEffectClsid      = "{D04E05A6-594B-4fb6-A80D-01AF5EED7D1D},6"
PKEY_FX_EndpointEffectClsid  = "{D04E05A6-594B-4fb6-A80D-01AF5EED7D1D},7"
PKEY_ItemNameDisplay            = "{B725F130-47EF-101A-A5F1-02608C9EEBAC},10"
PKEY_AudioEndpoint_ControlPanelPageProvider = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},1"
PKEY_AudioEndpoint_Association  = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},2"
PKEY_AudioEndpoint_Supports_EventDriven_Mode = "{1DA5D803-D492-4EDD-8C23-E0C0FFEE7F0E},7"

PKEY_SFX_ProcessingModes_Supported_For_Streaming = "{D3993A3F-99C2-4402-B5EC-A92A0367664B},5"
PKEY_MFX_ProcessingModes_Supported_For_Streaming = "{D3993A3F-99C2-4402-B5EC-A92A0367664B},6"
PKEY_EFX_ProcessingModes_Supported_For_Streaming = "{D3993A3F-99C2-4402-B5EC-A92A0367664B},7"

AUDIO_SIGNALPROCESSINGMODE_DEFAULT = "{C18E2F7E-933D-4965-B7D1-1EEF228D2AF3}"
		
PKEY_AudioEngine_OEMFormat = "{E4870E26-3CC5-4CD2-BA46-CA0A9A70ED04},3"

AUDIOENDPOINT_EXT_UI_CLSID = "{6C57B2A2-91F5-4b90-93D5-FAB82485ECA6}"

SYSFX_UI_CLSID      = "{8118323B-D7AD-44FE-86F0-E8B298A26213}"
SYSFX_PREMIX_CLSID  = "{92DF805A-8AA3-4AED-BBA7-0060DBC15A64}"
SYSFX_POSTMIX_CLSID = "{C8C7EAF0-0B39-4495-A48B-41B8BF71C53C}"
SYSFX_STREAM_CLSID  = "{92DF805A-8AA3-4AED-BBA7-0060DBC15A64}"
SYSFX_MODE_CLSID    = "{C8C7EAF0-0B39-4495-A48B-41B8BF71C53C}"
SYSFX_FriendlyName  = "CMedia Audio System Effect"

REG_BINARY          = 0x00000001
; Creative Chaining Property Keys
PKEY_APO_NUM           = "{d46c4dfd-28b8-4ab8-a45d-70399958ef26},0"
PKEY_GFX_APO1          = "{e1032fc5-ddab-4c4b-9940-8a6be78a4db6},0"
PKEY_LFX_APO1          = "{3a418faa-93d7-4bd8-a0d3-c784ad25476a},0"
PKEY_SFX_APO1          = "{7D6BD54C-EFB0-4f53-9598-8C4CF795BEB3},0"
PKEY_MFX_APO1          = "{734FF22D-BA52-49a7-849D-B352F6C4F456},0"
PKEY_EFX_APO1          = "{45840A41-6782-44b8-89DB-F6DE1C1AECCC},0"
PKEY_GFX_APO2          = "{e1032fc5-ddab-4c4b-9940-8a6be78a4db6},1"
PKEY_LFX_APO2          = "{3a418faa-93d7-4bd8-a0d3-c784ad25476a},1"
PKEY_SFX_APO2          = "{7D6BD54C-EFB0-4f53-9598-8C4CF795BEB3},1"
PKEY_MFX_APO2          = "{734FF22D-BA52-49a7-849D-B352F6C4F456},1"
PKEY_EFX_APO2          = "{45840A41-6782-44b8-89DB-F6DE1C1AECCC},1"

PKEY_RENDER_EFFECTID   = "{F1056047-B091-4d85-A5C0-B13D4D8BAC57},0"
PKEY_CT_APO_CUSTOM_KEY = "{35DF8779-6D98-4476-B3D3-F0FAC0E4F5BD},0"


; APO Chainer GUIDs
CHAINER_PREMIX_CLSID  = "{1FC28B13-D37F-4C93-8078-369E55E79EF8}"
CHAINER_POSTMIX_CLSID = "{854C5493-D8D8-421E-98F3-E8AD245136B1}"
CHAINER_SFX_CLSID     = "{A640C4CE-8740-4BF8-A93E-7E46700261A6}"
CHAINER_MFX_CLSID     = "{1A8B7EFB-64CA-4EC5-84BD-023ADD748254}"
CHAINER_EFX_CLSID     = "{1CDC756B-39FC-44D2-912B-5532B31846C6}"

; 1st APO GUIDS for chaining
GUID_APO1_GFX        = "{35b5aa65-5324-4ffa-8f38-8cbc565713e0}"
GUID_APO1_LFX        = "{a4602571-b0d3-4e2d-8e92-c21a7b47e41e}"
GUID_APO1_SFX        = "{161d66b9-bba7-4ae9-b7cf-62e844d31e86}"
GUID_APO1_MFX        = "{01c07332-a122-4711-bf2c-99a31d21ede2}"
GUID_APO1_EFX        = "{728C1874-211F-454E-9E47-D049EBF2A6F2}"

; 2nd APO GUIDS for chaining
GUID_APO2_GFX        = "{C8C7EAF0-0B39-4495-A48B-41B8BF71C53C}"
GUID_APO2_LFX        = "{92DF805A-8AA3-4AED-BBA7-0060DBC15A64}"
GUID_APO2_SFX        = "{92DF805A-8AA3-4AED-BBA7-0060DBC15A64}"
GUID_APO2_MFX        = "{C8C7EAF0-0B39-4495-A48B-41B8BF71C53C}"
;GUID_APO2_EFX        = XXAPO2.dll EFX CLSID

; Creative APO specific CLSID
GUID_RENDER_EFFECTID = "{1e8a7dee-f75c-44d2-83b0-d0107fa69476}"
CT_APO_CUSTOM_VALUE = "{2D46BA67-0778-48ef-82AF-BF1DB3E45FFE}"
CT_APO_AppID = "{bc44772a-d5f2-4113-bac1-e59301f3cb8e}"
CT_APO_TypeLib	= "{22f210ab-fea2-4425-a7ef-730c1fe7f840}"

NUM_APO_SET		     = 0x2
