;
; AVS Setup Information file
; Copyright (c) 2003-2013
;
; This file supports:
;     Windows XP
;     Windows XP x64 Edition
;     Windows Vista
;     Windows Vista x64
;     Windows 7
;     Windows 7 x64
;

;******************************************************************************
; Version Section
;------------------------------------------------------------------------------
[Version]
Signature="$Windows NT$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
Provider=%S_Provider%
DriverVer=06/12/2013,6.13.0.0
CatalogFile=behringer_avs.cat

;******************************************************************************
; Manufacturer
;------------------------------------------------------------------------------
[Manufacturer]
%S_Provider%=_Devices, ntamd64

;******************************************************************************
; Models sections
;------------------------------------------------------------------------------
; x86-based systems
[_Devices]
%S_DeviceDesc1%=_avs,behringer_xuf_1394_ENUM\BEHRINGER&X_UF&AVS


; x64-based systems
[_Devices.ntamd64]
%S_DeviceDesc1%=_avs,behringer_xuf_1394_ENUM\BEHRINGER&X_UF&AVS




;******************************************************************************
; Install Sections x86-based systems
;------------------------------------------------------------------------------
[_avs.ntx86]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=_CopyFiles_sys
AddReg=_avs.AddReg,_avs.AddReg_x86

[_avs.ntx86.Services]
AddService = %S_DriverName%, 0x00000002, _AddService, _EventLog

[_AddService]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\%S_DriverName%.sys

[_EventLog]
AddReg=_EventLog_AddReg

[_EventLog_AddReg]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName%.sys"
HKR,,TypesSupported,  %REG_DWORD%, 7


;******************************************************************************
; Install Sections x64-based systems
;------------------------------------------------------------------------------
[_avs.ntamd64]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=_CopyFiles_sys_x64
AddReg=_avs.AddReg,_avs.AddReg_x64

[_avs.ntamd64.Services]
AddService = %S_DriverName%, 0x00000002, _AddService_x64, _EventLog_x64

[_AddService_x64]
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\%S_DriverName_x64%.sys

[_EventLog_x64]
AddReg=_EventLog_AddReg_x64

[_EventLog_AddReg_x64]
HKR,,EventMessageFile,%REG_EXPAND_SZ%,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\%S_DriverName_x64%.sys"
HKR,,TypesSupported,  %REG_DWORD%, 7


;******************************************************************************
; interface registration
;------------------------------------------------------------------------------
[_avs.ntx86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,_avs.Topology

[_avs.ntamd64.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,_avs.Topology

[_avs.Topology]
AddReg=_avs.Topology.AddReg

[_avs.Topology.AddReg]
HKR,,FriendlyName,,%S_TopologyDeviceName%
HKR,,CLSID,,%Proxy.CLSID%


;******************************************************************************
; make the driver available for the Multimedia system
;------------------------------------------------------------------------------
[_avs.AddReg]
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%

[_avs.AddReg_x86]
HKR,,Driver,,%S_DriverName%.sys

[_avs.AddReg_x64]
HKR,,Driver,,%S_DriverName_x64%.sys


;******************************************************************************
; Copy file sections
;------------------------------------------------------------------------------
[_CopyFiles_sys]
behringer_avs.sys,,,0x00000004

[_CopyFiles_sys_x64]
behringer_avs_x64.sys,,,0x00000004


;******************************************************************************
; Destination Directories
;------------------------------------------------------------------------------
[DestinationDirs]
DefaultDestDir =     12   ; %windir%\system32\drivers 
_CopyFiles_sys =     12
_CopyFiles_sys_x64 = 12


;******************************************************************************
; Disk Layout
;------------------------------------------------------------------------------
[SourceDisksNames.x86]
1=%S_DiskName%,,

[SourceDisksNames.amd64]
1=%S_DiskName%,,


[SourceDisksFiles.x86]
behringer_avs.sys=1

[SourceDisksFiles.amd64]
behringer_avs_x64.sys=1


;******************************************************************************
; Text Strings
;------------------------------------------------------------------------------
[Strings]
;
; 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
;
S_Provider="BEHRINGER"
S_DiskName="BEHRINGER AVS Driver Disk"
S_DeviceDesc1="Behringer X-UF WDM"

S_WdmAudDescription="BEHRINGER 1394 Audio Driver"
S_TopologyDeviceName="BEHRINGER Mixer"

; File name of driver executable (without extension).
; If the name is modified, the [_CopyFiles_sys] and [SourceDisksFiles]
; sections have to be modified as well!
S_DriverName =     "behringer_avs"
S_DriverName_x64 = "behringer_avs_x64"


; *** EOF ***
