📄 rp_infdef_keywords.html
字号:
<HTML>
<FONT FACE=VERDANA SIZE=2 COLOR="#000000">
<HEAD>
<TITLE>
Glossary
</TITLE>
</HEAD>
<DL>
<DT><A NAME=KWD_><B>
</B></A></DT>
<DD>
</DD>
</DL>
<BODY>
<H3>
INF Glossary
</H3>
[<A HREF="#A">A</A>]
[<A HREF="#B">B</A>]
[<A HREF="#C">C</A>]
[<A HREF="#D">D</A>]
[<A HREF="#E">E</A>]
[<A HREF="#F">F</A>]
[<A HREF="#G">G</A>]
[<A HREF="#H">H</A>]
[<A HREF="#I">I</A>]
[<A HREF="#J">J</A>]
[<A HREF="#K">K</A>]
[<A HREF="#L">L</A>]
[<A HREF="#M">M</A>]
[<A HREF="#N">N</A>]
[<A HREF="#O">O</A>]
[<A HREF="#P">P</A>]
[<A HREF="#Q">Q</A>]
[<A HREF="#R">R</A>]
[<A HREF="#S">S</A>]
[<A HREF="#T">T</A>]
[<A HREF="#U">U</A>]
[<A HREF="#V">V</A>]
[<A HREF="#W">W</A>]
[<A HREF="#X">X</A>]
[<A HREF="#Y">Y</A>]
[<A HREF="#Z">Z</A>]
<!!!>
<!!! Signs !!!>
<!!!>
<DL>
<DT><A NAME=KWD_$><B>
$
</B></A></DT>
<DD>$ is a special delimiter used for <B><A HREF="#KWD_Signature">Signature</A></B>s in the <A HREF="#KWD_Version"><B>[Version]</B></A> section of an INF file. The accepted values for a signature are <I>$CHICAGO$</I>, <I>$Windows NT$</I> and <I>$Windows 95$</I>.</DD><P>
<DT><A NAME=KWD_%><B>
%
</B></A></DT>
<DD>% is a special delimited used to mark <I><A HREF="#KWD_StringToken">string tokens</A></I>. If a <I>%</I> character is intended to be used in a string, it must be doubled (<I>%%</I>).
</DL>
<!!!>
<!!! A !!!>
<!!!>
<H3><P><BR><BR><A NAME=A> A </A></H3>
<DL>
<DT><A NAME=KWD_AddReg><B>
AddReg</A></B>=<I>add-registry-section</I>[<B>,</B><I>add-registry-section</I>]...
</DT>
<DD>This directive references one or more INF-writer-defined sections in which new subkeys, possibly with initial value entries, are specified to be written into the registry or in which the value entries of existing keys are modified.
<P>Each named section referenced by an <B>AddReg</B> directive has the following form:
<P><B>[</B><I>add-registry-section</I><B>]</B><BR><BR><I>reg-root</I><B>,</B> [<I>subkey</I>]<B>,</B> [<I>value-entry-name</I>]<B>,</B> [<I>flags</I>]<B>,</B> [<I>value</I>]
<P>An <B><A HREF="KWD_HKR">HKR</A></B> specification in such an add-registry section designates the <B>..Class\</B><I>SetupClassGUID</I><B>\</B><I>device-instance-id </I>registry path to the user-accessible driver (a.k.a. "software" key).
</DD>
<DD><P>
Please note the importance of the commas - ignoring one would cause erroneous entries/values to appear in the registry.
</DD>
<DL>
<DT><B><P>
See Also
</B></DT>
<DD><B><A HREF="RP_INFDEF_DDINSTALL.HTML#KWD_AddReg">
AddReg
</A></B> directives in the INF, <B><A HREF="#KWD_RegKeys">
Registry Keys</A></B>,
<A HREF="#KWD_HKR"><B>HKR</A></B>
entries in the <B>Glossary</B>.</DD>
</DL>
</DL>
<DL>
<DT><B><A NAME=KWD_AddService>
</B></A></DT>
<DD>
</DD>
</DL>
<!!!>
<!!! B !!!>
<!!!>
<H3><P><BR><BR><A NAME=B> B </A></H3>
<!!!>
<!!! C !!!>
<!!!>
<H3><P><BR><BR><A NAME=C> C </A></H3>
<DL>
<DT><B><A NAME=KWD_Class>
Class</A>=</B><I>class-name</I>
</DT>
<DD>For any standard type of device, this specifies the class name, such as one of the system-defined class names like <B>Net</B> or <B>Display</B> as listed in <I>devguid.h</I>, for the type of device to be installed from this INF file.
<P>If an INF specifies a <B>Class</B> it should also specify the corresponding system-defined GUID value for its <B>ClassGUID</B> entry. Specifying the matching GUID value for a device of any predefined device setup class can install such a device and its driver(s) faster since this helps the system setup code to optimize its INF searching.
<DL>
<DT><P><B>See Also</B></DT>
<DD><A HREF="AC97SMPL.HTML#LP_CLS_DEF" TARGET="LP_INFSRC"><B>Class</B></A> entry in the INF,
<B><A HREF="RP_INFDEF_VERDEF.HTML#KWD_Class">Class</A></B> value described.
</DD>
</DL>
</DL>
<DL>
<DT><B><A NAME=KWD_ClassGUID>
ClassGUID
</A> = {</B><I>nnnnnnnn</I><B>-</B><I>nnnn</I><B>-</B><I>nnnn</I><B>-</B><I>nnnn</I><B>-</B><I>nnnnnnnnnnnn</I><B>}</B></DT>
<DD>
Specifies the device-class GUID, formatted as shown here, where each <I>n</I> is a hexadecimal digit.
<P>For a Windows 2000 device/driver(s) INF, such a GUID value determines the device (setup) class subkey in the registry <B>...\Class</B> tree under which to write registry information for the driver(s) of device(s) installed from this INF file. This class-specific GUID value also identifies the device-class installer for the type of device and class-specific property-page provider, if any.
<P>For a new device setup class, the INF must specify a newly generated <B>ClassGUID</B> value. For more information about creating GUIDs, see the <I>Setup, Plug & Play, and Power Management Design Guide</I> in the Windows 2000 DDK.
</DD>
</DL>
<DL>
<DT><P><BR><B><A NAME=KWD_CtrlFlag>
[ControlFlags]
</A></B><BR> <BR></DT>
<DD><B>ExcludeFromSelect=*</B> | <BR>
<B>ExcludeFromSelect=</B><I>hw-id</I>[<B>,</B><I>hw-id</I>] ... <BR>
[<B>ExcludeFromSelect.nt=</B><I>hw-id</I>[<B>,</B><I>hw-id</I>] ...]<BR>
[<B>ExcludeFromSelect.ntx86=</B><I>hw-id</I>[<B>,</B><I>hw-id</I>] ...]<BR>
[<B>CopyFilesOnly=</B><I>hw-id</I>[<B>,</B><I>hw-id</I>] ...]<BR>
[<B>InteractiveInstall</B>=<I>hw-id</I>[,<I>hw-id</I>] ... ]<BR>
</DD>
<DD><P>Typically, a <B>ControlFlags</B> section has one or more <B>ExcludeFromSelect</B> entries to control which device(s) listed in the per-manufacturer <I>Models</I> section of INF file will not be displayed to the end user as options during manual installations. </DD>
<DD><P>INFs that install exclusively PnP devices also have this section unless they set the <B>NoInstallClass</B> value entry in their respective <I>SetupClassGUID</I> keys to TRUE, as already described in the reference for the <B>ClassInstall32</B> section.</DD>
<DD><P><B>Entry Values</B></DD>
<DL>
<DT><P><B><A NAME=KWD_XCLUDEFROMSELECT>
ExcludeFromSelect
</A></B></DT>
<DD>Removes all (<B>*</B>) or the specified list of devices from the display shown to the end user, from which that user is expected to select a particular device for installation. To exclude a set of OS-incompatible or platform-incompatible devices from this display, one or more <B>ExcludeFromSelect</B> entries can have the following system-defined (and case-insensitive) extensions appended:
<DL>
<DT><B>.nt</B></DT>
<DD>Do not display these device(s) on computers running Windows 2000.</DD>
<DT><B>.ntx86</B></DT>
<DD>Do not display these device(s) on x86-based computers running Windows 2000.</DD>
</DL>
</DD>
<DT><P><I>hw-id</I></DT>
<DD>Identifies a device that is specified in the per-manufacturer <I>Models</I> section of the INF file. Each such <I>hw-id</I> value in a given entry must be separated from the next with a comma (<B>,</B>). </DD>
<DT><P><B>CopyFilesOnly</B></DT>
<DD>Installs only the INF-specified files for the given device(s) because the device hardware is not accessible or available yet. This entry is rarely used. However, it can be used to preinstall the driver(s) of a device for which the card will later be seated in a particular slot that is currently in use. For example, if a device currently seated in the particular slot is necessary to transfer INF-specified files to the target, the INF would have this entry. </DD>
<DT><P><B>InteractiveInstall</B></DT>
<DD>Forces the specified list of devices to be installed in a user's context. Each line can specify one or more hardware or compatible IDs and there can be one or more lines.
<P>This entry is optional. The preferred way to install devices is to omit this entry and allow Setup to install the device in the context of a trusted system thread, if possible. However, if a device absolutely requires a user to be logged in when the device is installed, include this entry in the device INF. This entry is not supported on Windows 9x systems.
</DD>
<DT><P><B>See Also</B></DT>
<DD><B><A HREF="AC97SMPL.HTML#LP_CTRLFLAG_SECT" TARGET="LP_INFSRC">[ControlFlags]</A></B> section in the INF file, <B><A HREF="RP_INFDEF_CTRLFLAG.HTML">[ControlFlags]</A></B> section described.</DD>
</DL>
</DL>
<DL>
<DT><B><P><BR><A NAME=KWD_CopyFiles>
CopyFiles
</A>=@</B><I>filename</I> | <I>file-list-section</I>[<B>,</B><I>file-list-section</I>] ...</DT>
<DD>This directive either specifies one named file to be copied from the source media to the destination or references one or more INF-writer-defined sections in which device-relevant file(s) on the source media are specified for transfer to the destination. The <B>CopyFiles</B> directive is optional, but is present in most <I><B>DDInstall</B></I> sections.
<P>The <B>DefaultDestDir</B> entry in the <B><A HREF="#KWD_DestDir">DestinationDirs</A></B> section of the INF specifies the destination for any single file to be copied. The <B><A HREF="#KWD_SrcDisksNames">SourceDisksNames</A></B> and <B><A HREF="#KWD_SrcDisksFiles">SourceDisksFiles</A></B> sections, or an additional INF specified in the <B><A HREF="#KWD_LayoutFile">LayoutFile</A></B> entry of this INF's <B><A HREF="#KWD_Version">Version</A></B> section, provides the location on the distribution media of the driver file(s).
</DD>
<DL>
<DT><B><P>See Also</B></DT>
<DD><B><A HREF="RP_INFDEF_DDInstall.HTML#KWD_CopyFiles">CopyFiles</A></B> directives in the INF.</DD>
</DL>
</DL>
<!!!>
<!!! D !!!>
<!!!>
<H3><P><BR><BR><A NAME=D> D </A></H3>
<DL>
<DT><P><B><A NAME=KWD_DDInstall>
[<I>DDInstall</I>]</A> | <BR>[<I>DDInstall</I>.nt] | <BR>[<I>DDInstall</I>.ntx86]
<BR> </B><BR></DT>
<DD>
[<B><A HREF="#KWD_DriverVer">DriverVer</A>=</B><I>mm/dd/yyyy</I>[<B>,</B><I>x.y.v.z</I>] ]<BR>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -