

[Version]
Signature="$CHICAGO$"
Class=MEDIA
ClassGUID={4d36e96c-e325-11ce-bfc1-08002be10318}
provider=%MSFT%
LayoutFile=layout.inf
DriverVer =07/01/2001,5.1.2535.0

[Manufacturer]
%NMGCMfgName%=NM6Audio

[SourceDisksNames]
1 = %DiskID1%

[SourceDisksFiles]
nm6wdm.sys = 1


;; Excluding drivers from the "Add New Hardware" list.
[ControlFlags]

ExcludeFromSelect = *


;;---------------------------------------------------------------;
;;
;; D E V I C E  C A L L O U T  S E C T I O N
;;

[NM6Audio]
%*WDM_NM6.DeviceDesc%=WDM_NM6, PCI\VEN_10C8&DEV_8006
%*WDM_NM6.DeviceDesc%=WDM_NM6, PCI\VEN_10C8&DEV_8016
;;---------------------------------------------------------------;
;;
;; D I R E C T O R Y  S E C T I O N
;;
[DestinationDirs]
NM6Audio.CopyList   = 10,system32\drivers ; %SystemRoot%\system32\drivers

;;---------------------------------------------------------------;
;;
;; D R I V E R  C A L L O U T  S E C T I O N
;;

[WDM_NM6]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=NM6Audio.CopyList
AddReg=WDM_NM6.AddReg, WDM_NM6_GUID.AddReg

[WDM_NM6.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_NM6.Interface.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_NM6.Interface.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_NM6.Interface.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_NM6.Interface.Topology

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

[WDM_NM6.Interface.Topology]
AddReg=WDM_NM6.Interface.Topo.AddReg
[WDM_NM6.Interface.Topo.AddReg]
HKR,,CLSID,,%Proxy.CLSID%
HKR,,FriendlyName,,%WDM_NM6.Topology.szPname%

;;---------------------------------------------------------------;
;;
;; U P D A T E  R E G I S T R Y  S E C T I O N
;;
[WDM_NM6.AddReg]
HKR,,AssociatedFilters,,"wdmaud,swmidi,redbook"
HKR,,Driver,,NM6WDM.SYS
HKR,,NTMPDriver,,"NM6WDM.sys,sbemul.sys"

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,,%*WDM_NM6.DeviceDesc%
HKR,Drivers\midi\wdmaud.drv, Description,,%*WDM_NM6.DeviceDesc%
HKR,Drivers\mixer\wdmaud.drv,Description,,%*WDM_NM6.DeviceDesc%
HKR,Drivers\aux\wdmaud.drv,Description,,%*WDM_NM6.DeviceDesc%

[WDM_NM6_GUID.AddReg]
HKLM,%MediaCategories%\%NM6GUID.Pcbeep%,Name,,%NM6Pin.Pcbeep%
HKLM,%MediaCategories%\%NM6GUID.Pcbeep%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.Phone%,Name,,%NM6Pin.Phone%
HKLM,%MediaCategories%\%NM6GUID.Phone%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.Mic1%,Name,,%NM6Pin.Mic1%
HKLM,%MediaCategories%\%NM6GUID.Mic1%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.Mic2%,Name,,%NM6Pin.Mic2%
HKLM,%MediaCategories%\%NM6GUID.Mic2%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.LineIn%,Name,,%NM6Pin.LineIn%
HKLM,%MediaCategories%\%NM6GUID.LineIn%,Display,1,00,00,00,00
;HKLM,%MediaCategories%\%NM6GUID.CdPlayer%,Name,,%NM6Pin.CdPlayer%
;HKLM,%MediaCategories%\%NM6GUID.CdPlayer%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.Video%,Name,,%NM6Pin.Video%
HKLM,%MediaCategories%\%NM6GUID.Video%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.Aux%,Name,,%NM6Pin.Aux%
HKLM,%MediaCategories%\%NM6GUID.Aux%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.LineOut%,Name,,%NM6Pin.LineOut%
HKLM,%MediaCategories%\%NM6GUID.LineOut%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.HPOut%,Name,,%NM6Pin.HPOut%
HKLM,%MediaCategories%\%NM6GUID.HPOut%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.MonoOut%,Name,,%NM6Pin.MonoOut%
HKLM,%MediaCategories%\%NM6GUID.MonoOut%,Display,1,00,00,00,00

HKLM,%MediaCategories%\%NM6GUID.I2S%,Name,,%NM6Pin.I2S%
HKLM,%MediaCategories%\%NM6GUID.I2S%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.SPDIF%,Name,,%NM6Pin.SPDIF%
HKLM,%MediaCategories%\%NM6GUID.SPDIF%,Display,1,00,00,00,00

HKLM,%MediaCategories%\%NM6GUID.DockMic%,Name,,%NM6Pin.DockMic%
HKLM,%MediaCategories%\%NM6GUID.DockMic%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.DockLine%,Name,,%NM6Pin.DockLine%
HKLM,%MediaCategories%\%NM6GUID.DockLine%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.DockCD%,Name,,%NM6Pin.DockCD%
HKLM,%MediaCategories%\%NM6GUID.DockCD%,Display,1,00,00,00,00
HKLM,%MediaCategories%\%NM6GUID.DockAux%,Name,,%NM6Pin.DockAux%
HKLM,%MediaCategories%\%NM6GUID.DockAux%,Display,1,00,00,00,00

HKLM,%MediaCategories%\%NM6GUID.UseDKSPKER%,Name,,%NM6Node.UseDKSPKER%
HKLM,%MediaCategories%\%NM6GUID.UseDKSPKER%,Display,1,00,00,00,00

[NM6Audio.CopyList]
nm6wdm.sys

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

[WDM_NM6.NTX86]
Include=ks.inf, wdmaudio.inf
Needs=KS.Registration, WDMAUDIO.Registration
CopyFiles=NM6Audio.CopyList
AddReg=WDM_NM6.AddReg, WDM_NM6_GUID.AddReg

[WDM_NM6.NTX86.Interfaces]
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Wave%,WDM_NM6.Interface.Wave
AddInterface=%KSCATEGORY_RENDER%,%KSNAME_Wave%,WDM_NM6.Interface.Wave
AddInterface=%KSCATEGORY_CAPTURE%,%KSNAME_Wave%,WDM_NM6.Interface.Wave
AddInterface=%KSCATEGORY_AUDIO%,%KSNAME_Topology%,WDM_NM6.Interface.Topology

[WDM_NM6.NTX86.Services]
AddService = wdm_nm6,    0x00000002, wdm_nm6_Service_Inst

[wdm_nm6_Service_Inst]
DisplayName    = %wdm_nm6.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\nm6wdm.sys

;;---------------------------------------------------------------;
;;
;; S T R I N G S
;;

[Strings]
MSFT="Microsoft"
NMGCMfgName="NeoMagic Corporation"
*WDM_NM6.DeviceDesc="Драйвер NeoMagic MagicMedia 256 + AC97 (WDM)"
WDM_NM6.Wave.szPname="Звук NeoMagic (WDM)"
WDM_NM6.Topology.szPname="Микшер NeoMagic (WDM)"
;; NM6 friendly names (non-localizeable)
NM6GUID.Pcbeep    = "{BDC05F40-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.Phone     = "{BDC05F41-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.Mic1      = "{BDC05F42-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.Mic2      = "{BDC05F43-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.LineIn    = "{BDC05F44-A91A-11D1-84AF-00A024947B4F}"
;NM6GUID.CdPlayer  = "{BDC05F45-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.Video     = "{BDC05F45-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.Aux       = "{BDC05F46-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.LineOut   = "{BDC05F47-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.HPOut     = "{BDC05F48-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.MonoOut   = "{BDC05F49-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.I2S       = "{BDC05F4A-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.SPDIF     = "{BDC05F4B-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.DockMic   = "{BDC05F4C-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.DockLine  = "{BDC05F4D-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.DockCD    = "{BDC05F4E-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.DockAux   = "{BDC05F4F-A91A-11D1-84AF-00A024947B4F}"
NM6GUID.UseDKSPKER= "{BDC05F50-A91A-11D1-84AF-00A024947B4F}"
;; NM6 friendly names (localizeable)
NM6Pin.Pcbeep     = "Дин. ПК"
NM6Pin.Phone      = "Телефон"
NM6Pin.Mic1       = "Микрофон"
NM6Pin.Mic2       = "Микр2"
NM6Pin.LineIn     = "Лин. вход"
;NM6Pin.CdPlayer   = "CD Audio"
NM6Pin.Video      = "Видеовход"
NM6Pin.Aux        = "ZV-аудио"
NM6Pin.LineOut    = "Общая громкость"
NM6Pin.HPOut      = "Лин. выход"
NM6Pin.MonoOut    = "Моно выход"
NM6Pin.I2S        = "I2S"
NM6Pin.SPDIF      = "SPDIF"

NM6Pin.DockMic    = "Микр. ст. узла"
NM6Pin.DockLine   = "Лин. вх. ст. узла"
NM6Pin.DockCD     = "Компакт-диск ст. узла"
NM6Pin.DockAux    = "Доб. вход ст. узла"
NM6Node.UseDKSPKER= "Включить динамики стыковочного узла"

MediaCategories="SYSTEM\CurrentControlSet\Control\MediaCategories"
WDM_SWSYNTH="Прогр. синтезатор Microsoft (WDM)"

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"
KSNAME_Topology="Topology"

wdm_nm6.SvcDesc = "Драйвер NeoMagic MagicMedia 256 + AC97 (WDM)"

