-
AlsoInstall=inf-section-name(filename1.inf) [, inf-section-name(filename2.inf)]...
- This directive collapses the Include and Needs directives. The needed inf sections from the included files are required to be processed in order to successfully install this device.
References :
-
[AC97SMPL]
...
AlsoInstall=KS.Registration(ks.inf), WDMAUDIO.Registration(wdmaudio.inf) ( both of the files are to be found in %windir%\inf )
Warning : do not alter these system-provided inf files !
See also the Glossary entries for Needs, Include.
CopyFiles
=file-list-section[, file-list-section]...
- This directive references a INF-writer-defined section which contains the device-relevant files on the source media to be transfered to the destination.
In this case, the files needed to be transfered are listed in the [AC97SMPL.CopyList] section.
References :
-
[AC97SMPL]
...
CopyFiles=AC97SMPL.CopyList. (for all platforms)
[AC97SMPL.NTX86]
...
CopyFiles=AC97SMPL.CopyList,
AC97PROP.CopyList. (for Windows 2000 only)
See also the Glossary entry for CopyFiles.
AddReg
=add-registry-section[, add-registry-section]..
- This directive references several INF-writer-defined sections () in which new subkeys are specified to be written into the registry.
References :
-
[AC97SMPL]
...
AddReg=AC97SMPL.AddReg,AC97SMPL_NAMES.AddReg, AC97SMPL_OEM.AddReg
[AC97SMPL.NTX86]
...
AddReg=AC97SMPL.AddReg,AC97SMPL_NAMES.AddReg, AC97SMPL_OEM.AddReg, AC97PROP.AddReg
[AC97SMPL.Interface.Wave]
...
AddReg=AC97SMPL.I.Wave.AddReg
[AC97SMPL.Interface.Topology]
...
AddReg=AC97SMPL.I.Topo.AddReg
See also the Glossary entry for AddReg.
Include
=filename.inf[, filename.inf]...
- Specifies other INF files that have to be processed for this installation to succeed. Usually accompanied by a Needs directive, to specify which sections in these files are to be processed.
References :
[AC97SMPL.NTX86]
...
Include=ks.inf, wdmaudio.inf
See also the Glossary entry for Include.
Needs
=inf-section-name[, inf-section-name]...
- Specifies section names of Included INF files that have to be processed for this installation to succeed.
References :
[AC97SMPL.NTX86]
...
Needs=KS.Registration, WDMAUDIO.Registration
See also the Glossary entry for Needs.
KnownRegEntries
- The KnownRegEntries directive, along with the
[AC97.KnownRegEntries] and
[IsWin98Gold] sections,
form a mechanism used to differentiate between WDM Audio versions 1.0 (Win98 Gold) and 1.1 (Win98 SE and Win2000).
The WDM Audio version 1.0 does not offer all of the functionality made available by version 1.1 and audio devices that support hardware mixing have to be prevented to be installed on Win98 Gold. The mechanism to be used is described below :
- [DDInstall]
...
KnownRegEntries=Xxx.KnownRegEntries
[Xxx.KnownRegEntries]
...
IsWin98Gold=keep
[IsWin98Gold]
...
1=HKLM,Software\Microsoft\Windows\CurentVersion,VersionNumber,0,4.10.1998
Warning : The reg entry above is to be used verbatim, any mismatches may result in incorrect device/driver setup.
The terms in bold are reserved keywords.
ExcludeID
=device-identification-string[,device-identification-string]...
- (Windows XP and later.) This directive specifies one or more
device identification strings (either hardware IDs or compatible IDs). The
DDInstall section will not install devices having device IDs that match any of
the hardware IDs or compatible IDs listed.
In this sample, the driver installs on a class of HW devices. On
some ac97 controller/codec combinations the driver won't work
correctly due to incompatible ac97 codecs. With this directive you
can exclude installation of the sample driver on those devices.
References :
[AC97SMPL]
...
ExcludeId=PCI\VEN_8086&DEV_2415&SUBSYS_536011D4&REV_00
[AC97SMPL.NTX86]
...
ExcludeId=PCI\VEN_8086&DEV_2415&SUBSYS_536011D4&REV_00
See also the Glossary entry for ExcludeId.