Total Warnings: |
3 |
;
; Copyright (c) 2009-2015 Shanling
;
; Shanling Audio Driver KS setup information file
;
; This file supports:
; Windows XP
; Windows Vista Windows Vista x64
; Windows 7 Windows 7 x64
; Windows 8.1 Windows 8.1 x64
;
;******************************************************************************
; Version Section
;------------------------------------------------------------------------------
[Version]
Signature="$Windows NT$"
DriverVer=02/13/2015,2.29.0.0
Provider=%S_Provider%
CatalogFile=shanling_audioks.cat
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
;******************************************************************************
; Manufacturer
;------------------------------------------------------------------------------
[Manufacturer]
%S_Mfg%=_Models, ntamd64
;******************************************************************************
; Models sections
;------------------------------------------------------------------------------
[_Models]
"Shanling Audio Device"=_Install, TUSBAUDIO_ENUM\VID_20B1&PID_301F&KS
[_Models.ntamd64]
"Shanling Audio Device"=_Install, TUSBAUDIO_ENUM\VID_20B1&PID_301F&KS
;******************************************************************************
; Install Sections x86
;------------------------------------------------------------------------------
[_Install.ntx86]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration, mssysfx.CopyFilesAndRegister
CopyFiles=_CopyFiles_sys_x86
AddReg=_KSAddReg,_KSAddReg_x86
;AddProperty=_KSAddProperty
[_Install.ntx86.Services]
AddService = %S_ServiceName%, 0x00000002, _AddService_x86, _EventLog_x86
[_AddService_x86]
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\shanling_audioks.sys
[_EventLog_x86]
AddReg=_EventLogAddReg_x86
[_EventLogAddReg_x86]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\shanling_audioks.sys"
HKR,,TypesSupported, %REG_DWORD%, 7
;******************************************************************************
; Install Sections x64
;------------------------------------------------------------------------------
[_Install.ntamd64]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration, mssysfx.CopyFilesAndRegister
CopyFiles=_CopyFiles_sys_x64
AddReg=_KSAddReg,_KSAddReg_x64
;AddProperty=_KSAddProperty
[_Install.ntamd64.Services]
AddService = %S_ServiceName%, 0x00000002, _AddService_x64, _EventLog_x64
; (W22.1.2004) Service shanling_audioks already defined in section [_AddService_x86].
[_AddService_x64]
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\shanling_audioks_x64.sys
[_EventLog_x64]
AddReg=_EventLogAddReg_x64
[_EventLogAddReg_x64]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\shanling_audioks_x64.sys"
HKR,,TypesSupported, %REG_DWORD%, 7
;******************************************************************************
; interface registration
;------------------------------------------------------------------------------
[_Install.ntx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,_KSTopology
[_Install.ntamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,_KSTopology
[_KSTopology]
AddReg=_KSTopology_AddReg
[_KSTopology_AddReg]
HKR,,FriendlyName,,%S_TopologyDeviceName%
HKR,,CLSID,,%Proxy.CLSID%
;******************************************************************************
; make the driver available to the Multimedia system
;------------------------------------------------------------------------------
[_KSAddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,Drivers,SubClasses,,"wave,midi,mixer,aux"
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\aux\wdmaud.drv,Driver,,wdmaud.drv
HKR,Drivers\wave\wdmaud.drv,Description,,%S_WdmAudDescription%
HKR,Drivers\midi\wdmaud.drv,Description,,%S_WdmAudDescription%
HKR,Drivers\mixer\wdmaud.drv,Description,,%S_WdmAudDescription%
HKR,Drivers\aux\wdmaud.drv,Description,,%S_WdmAudDescription%
[_KSAddReg_x86]
HKR,,Driver,,shanling_audioks.sys
[_KSAddReg_x64]
HKR,,Driver,,shanling_audioks_x64.sys
;******************************************************************************
; Add properties (Vista/W7 only)
;------------------------------------------------------------------------------
;[_KSAddProperty]
; optionally, add an icon shown in Vista/W7 Audio CPL
;DeviceBrandingIcon,,,,"%12%\shanling_audioks,-200"
;Place your URL here
;DeviceVendorWebSite,,,,"http://www.thesycon.com/"
;******************************************************************************
; Copy file sections
;------------------------------------------------------------------------------
[_CopyFiles_sys_x86]
shanling_audioks.sys,,,0x00000004
[_CopyFiles_sys_x64]
shanling_audioks_x64.sys,,,0x00000004
;******************************************************************************
; Destination Directories
;------------------------------------------------------------------------------
[DestinationDirs]
; (W22.1.2400) DESTINATIONDIRS is defined more than once. This will result in the sections being collapsed into a single section which may be unexpected.
DefaultDestDir = 12 ; %windir%\system32\drivers
_CopyFiles_sys_x86 = 12
_CopyFiles_sys_x64 = 12
;******************************************************************************
; Disk Layout
;------------------------------------------------------------------------------
[SourceDisksNames.x86]
1=%S_DiskName%,,0
[SourceDisksNames.amd64]
1=%S_DiskName%,,0
[SourceDisksFiles.x86]
shanling_audioks.sys=1
[SourceDisksFiles.amd64]
shanling_audioks_x64.sys=1
;******************************************************************************
; Text Strings
;------------------------------------------------------------------------------
[Strings]
; (W22.1.2400) STRINGS is defined more than once. This will result in the sections being collapsed into a single section which may be unexpected.
;
; Non-Localizable Strings, DO NOT MODIFY!
;
REG_SZ = 0x00000000
REG_MULTI_SZ = 0x00010000
REG_EXPAND_SZ = 0x00020000
REG_BINARY = 0x00000001
REG_DWORD = 0x00010001
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}"
Proxy.CLSID="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
KSSTRING_Filter="{9B365890-165F-11D0-A195-0020AFD156E4}"
KSNAME_Topology="Topology"
;
; Localizable Strings, modify as required
;
; provider
S_Provider="Shanling"
S_Mfg="Shanling"
; disk name
S_DiskName="Shanling Audio Driver"
S_WdmAudDescription="Shanling Audio Class Driver"
S_TopologyDeviceName="Shanling Audio Class Mixer"
; service name, should be set to x86 binary executable name without .sys extension
S_ServiceName="shanling_audioks"
;;;;;;;;;;;;;;;;;;;;;; EOF ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;