⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rp_infdef_keywords.html

📁 AC97 Sample Driver and Related Code Samples. This directory contains a sample AC97 adapter driver a
💻 HTML
📖 第 1 页 / 共 4 页
字号:
	</B></A></DT>
	
	<DD>
	Registry keys are roots of the registry tree; the subkeys are the paths in the tree to the target value. The value of a registry key can be one of the following: 
		<DL>
			<DT><B><A NAME=KWD_KHCR>
			HKCR</A></B></DT>
				<DD>Abbreviation for <B>HKEY_CLASSES_ROOT</B>.</DD>

			<DT><B><A NAME=KWD_HKCU>
			HKCU</A></B></DT>
				<DD>Abbreviation for <B>HKEY_CURRENT_USER</B>.</DD>

			<DT><B><A NAME=KWD_HKLM>
			HKLM</A></B></DT>
				<DD>Abbreviation for <B>HKEY_LOCAL_MACHINE</B>.</DD>

			<DT><B><A NAME=KWD_HKU>
			HKU</A></B></DT>
				<DD>Abbreviation for <B>HKEY_USERS</B>.</DD>

			<DT><B><A NAME=KWD_HKR>
			HKR</A></B></DT>
				<DD>Relative to the registry key most pertinent to the section in which the <B><A HREF="#KWD_AddReg">AddReg</A></B> directive appears, such as the per-device "hardware" subkey in the registry <B>..\Enum\</B><I>enumeratorID</I><B>\</B><I>device-instance-id</I> branch, the corresponding driver-specific "software" subkey under the registry <B>..Class\</B><I>SetupClassGUID</I><B>\</B><I>device-instance-id</I> branch, and so forth.</DD>
		</DL>
	</DD>
</DL>


<!!!>
<!!!	S	!!!>
<!!!>
<H3><P><BR><BR><A NAME=S>	S	</A></H3>
<DL>
	<P><BR><BR><DT><A NAME=KWD_SIGNATURE><B>
	Signature</B>=<I>"signature-name"</I>
	</A></DT>

	<DD>Can be any of <I>$Windows NT$</I>, <i>$Chicago$</I>, or <I>$Windows 95$</I>. The enclosing $ are required but these strings are otherwise case-insensitive. If the signature-name is none of these string values, the file is not accepted as a valid INF. 
	<P>If an INF is used to install device(s)/driver(s) on both Windows 9x and Windows 2000 platforms, it must designate any OS-specific installation information by appending system-defined extension(s) to its DDInstall section(s), whether the signature-name is $Windows NT$, $Chicago$, or $Windows 95$. 
	<DL>
		<DT><P><B>See Also</B></DT>
		<DD><A HREF="AC97SMPL.HTML#LP_SIG_DEF" TARGET="LP_INFSRC"><B>Signature</B></A> entry in the INF,
		<B><A HREF="RP_INFDEF_VERDEF.HTML#KWD_Signature">Signature</A></B> value described.
		</DD>
	</DL>
	</DD>
</DL>

<DL>
	<DT><P><BR><BR><A NAME=KWD_SrcDisksFiles><B>
	[SourceDisksFiles]
	</A></B> | <B>[SourceDisksFiles.x86]</B><BR>&nbsp;<BR></DT>

	<DD><I>filename</I><B> =</B> <I>diskid</I>[<B>,</B>[ <I>subdir</I>][<B>,</B> <I>size</I>]]<BR>...</P></DD>

	<DD><P>A <B>SourceDisksFiles</B> section names the source files used during installation, identifies the source disks (or CD-ROM discs) that contain those files, and provides the path to the subdirectories, if any, on the distribution disks containing individual files. </P></DD>

	<DL>
		<P><B>Entry Values</B>
		<DT><I><A NAME=KWD_Filename>filename</A></I></DT>
		<DD>Specifies the name of the file on the source disk.</DD>

		<DT><I>diskid</I></DT>
		<DD>Specifies the integer identifying the source disk that contains the file. This value and the initial <I>path</I> to the <I>subdir</I>(ectory), if any, containing the named file must be defined in a <B>SourceDisksNames</B> section of the same INF. </DD>

		<DT><I>subdir</I></DT>
		<DD>This optional value specifies the subdirectory (relative to the <B>SourceDisksNames</B> <I>path</I> specification, if any) on the source disk where the named file resides.<P>If this value is omitted from an entry, the named source file is assumed to be in the root directory or in the <I>path</I> directory that was specified in the <B>SourceDisksNames</B> section for the given disk.</DD>

		<DT><I>size</I></DT>
		<DD>This optional value specifies the uncompressed size, in bytes, of the given file.</DD>

		<DT><P><B>See Also</B></DT>
		<DD><B><A HREF="AC97SMPL.HTML#LP_SRCDSKFL_SECT" TARGET="LP_INFSRC">[SourceDisksFiles]</A></B> section in the INF file, <B><A HREF="RP_INFDEF_SRCDSKFL.HTML">[SourceDisksFiles]</A></B> section described.</DD>
	</DL>
</DL>


<DL>
	<DT><P><BR><BR><A NAME=KWD_SrcDisksNames><B>
	[SourceDisksNames]</B></A> | <B>[SourceDisksNames.x86]</B></DT><BR><BR>

	<DD><I>diskid</I> <B>=</B> <B>%</B><I>strkey</I><B>%</B> | [<B>"</B>]<I>disk-description</I>[<B>"</B>][<B>,</B>[<I>tagfile</I>][<B>,</B><I>unused</I><B>,</B><I>path</I>]]<BR>...</DD>

	<P>A <B>SourceDisksNames</B> section identifies the distribution disk(s) or CD-ROM disc(s) that contain the source files to be transferred to the target machine during installation. </P>

	<DL>
		<P><B>Entry Values</B>
		<DT><I><A NAME=KWD_DiskID>diskid</A></I></DT>
		<DD>Specifies a nonnegative integer that identifies a source disk. This value can be expressed in decimal or in hexadecimal notation, but it cannot require more than four bytes of storage. If there is more than one source disk for the distribution, each <I>diskid</I> entry in this section must have a unique value, such as <B>1</B>, <B>2</B>, <B>3</B>,... or <B>0x0</B>, <B>0x1</B>, <B>0x2</B>,... and so forth. </DD>

		<DT><I>disk-description</I></DT>
		<DD>Specifies a <B>%</B><I>strkey</I><B>%</B> token or a <B>"</B><I>quoted string</I><B>"</B> that describes the contents and/or purpose of the disk identified by <I>diskid</I>. The installer can display the value of this string to the end user during installation, for example, to identify a source disk to be inserted into a drive at a particular stage of the installation process. 
		<P>Every <B>%</B><I>strkey</I><B>%</B> specification in this section must be defined in the INF's <B>Strings</B> section. Any <I>disk-description</I> that is not a <B>%</B><I>strkey</I><B>%</B> token is a user-visible string that must be delimited by double-quote characters (<B>"</B>) if it has any leading or trailing spaces. 
		</DD>

		<DT><I>tagfile</I></DT>
		<DD>This optional value specifies the name of a tag file supplied on the distribution disk, either in the root directory or in the given <I>path</I> subdirectory, if any, of the disk. The value should specify only the filename, not any directory or subdirectory.
		<P>Setup uses a tag file to verify that the user inserted the correct installation disk. Tag files are only used for removeable media. 
		<P>A vendor can also use a tag file to contain a "cabinet" of compressed installation files. If <I>tagfile</I> has the extension <B>.cab</B>, Setup uses it as a tag file <I>and</I> as a source of installation files.
		</DD>

		<DT><I>unused</I></DT>
		<DD>This is not used on Windows&nbsp;2000. This value is only used in Windows 9x. See the Windows 98 DDK documentation for further information.</DD>

		<DT><I>path</I></DT>
		<DD>This optional value specifies the path to the directory on the distribution disk containing source files, including the <I>tagfile</I> if any. The <I>path</I> is relative to the root and is expressed as <B>\</B><I>dirname1</I><B>\</B><I>dirname2</I>... and so forth. If this value is omitted from an entry, files are assumed to be in the root directory of the distribution disk. 
		<P>Subdirectories containing particular source files can be specified relative to a given <I>path</I> directory in the corresponding <B>SourceDisksFiles</B> section of the INF file. However, any <I>tagfile</I> supplied on the distribution disk must reside either in the given <I>path</I> directory or, if <I>path</I> is omitted, in the root directory.
		</DD>

		<DT><P><B>See Also</B></DT>
		<DD><B><A HREF="AC97SMPL.HTML#LP_SRCDSKNM_SECT" TARGET="LP_INFSRC">[SourceDisksNames]</A></B> section in the INF file, <B><A HREF="RP_INFDEF_SRCDSKNM.HTML">[SourceDisksNames]</A></B> section described.</DD>
	</DL>
</DL>



<DL>
	<P><BR><BR><DT><A NAME=KWD_Strings><B>
	[Strings] </B>|<B> [Strings</B>.LanguageID] ...
	</A></DT>

	<DD>
	<I>strkey1</I><B>=</B> [<B>"</B>]<I>some string</I>[<B>"</B>]<B><BR>
	</B><I>strkey2</I> <B>=</B>&nbsp;<B>"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</B><I>string-with-leading-or-trailing-whitespace</I>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>"</B>  | <I><BR>
	</I>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>"</B><I>very-long-multiline-string </I><B>"</B> | <BR>
	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>"</B><I>string-with-semicolon</I><B>"</B> | <B>"</B><I>string-ending-in-backslash</I><B>"</B> |<B><BR>
	</B>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>""</B><I>double-quoted-string-value</I><B>""</B><BR>
	 ...</P>
	<P>An INF file must have at least one <B>Strings</B> section to define every <A HREF="#KWD_StringToken">%<I>strkey</I>%</A> token specified elsewhere in that INF. 
	</DD>

	<DL>
		<P><B>Entry Values</B>
		<DT><I><A NAME=KWD_StringToken>strkey</A>1</I>, <I>strkey2</I>, ...</DT>
		<DD>Each strkey in an INF file must specify a unique name consisting of letters, digits, and/or other explicitly visible characters. A % character within such a strkey token can be expressed as %%.</DD>
		<P><DT><I>some string</I> | "<I>some string</I>"</DT>
		<DD>Specifies a string, optionally delimited with double-quote characters ("), that contains letters, digits, punctuation, and possibly even certain implicitly visible characters, in particular, internal space and/or tab characters. However, an unquoted string cannot contain an internal double-quote ("), semicolon (;), linefeed, return, or any invisible control characters, and it cannot have a backslash (\) as its final character.</DD>
	</DL>
	<DL>
		<DT><P><B>See Also</B></DT>
		<DD><A HREF="AC97SMPL.HTML#LP_STRINGS_SECT" TARGET="LP_INFSRC"><B>[Strings]</B></A> section in the INF,
		<A HREF="AC97SMPL.HTML#LP_STRINGSLOC_SECT" TARGET="LP_INFSRC"><B>[Strings.0407]</B></A> section in the INF,
		<B><A HREF="RP_INFDEF_Strings.HTML">[Strings]</A></B> section described.
		</DD>
	</DL>

</DL>


<!!!>
<!!!	T	!!!>
<!!!>
<H3><P><BR><BR><A NAME=T>	T	</A></H3>




<!!!>
<!!!	U	!!!>
<!!!>
<H3><P><BR><BR><A NAME=U>	U	</A></H3>


<!!!>
<!!!	V	!!!>
<!!!>
<H3><P><BR><BR><A NAME=V>	V	</A></H3>

<DL>
	<P><BR><BR><DT><A NAME=KWD_Version><B>
	[Version]</B></A></DT>

	<DD>
	<BR><B><A HREF="#KWD_Signature">Signature</A>="</B><I>signature-name</I><B>"</B><BR>
	[<B><A HREF="#KWD_Class">Class</A>=</B><I>class-name</I>]<I><BR>
	</I>[<B><A HREF="#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>]<I><BR>
	</I>[<B><A HREF="#KWD_Provider">Provider</A>=%</B><I>INF</I>-<I>creator<B>%</B></I>]<I><BR>
	</I>[<B><A HREF="#KWD_LayoutFile">LayoutFile</A>=</B><I>filename</I><B>.inf</B><I> </I>[<B>,</B><I>filename</I><B>.inf</B>]... ]<BR>
	[<B>CatalogFile=</B><I>filename</I><B>.cat</B>]<BR>
	[<B>CatalogFile.nt=</B><I>unique-filename</I><B>.cat</B>]<BR>
	[<B>CatalogFile.ntx86=</B><I>unique-filename</I><B>.cat</B>]<BR>
	<B><A HREF="#KWD_DriverVer">DriverVer</A>=</B><I>mm/dd/yyyy</I>[<B>,</B><I>x.y.v.z</I>] <BR>
	</P>
	By convention, the Version section appears first in INF files. Every INF file must have this section. 
	<P><I>(Click on each of the entries to go to their respective glossary entry.)</I>
	</DD>

	<DL>
		<P><DT><B>See Also</B></DT>
		<DD><I>Setup, Plug & Play, Power Management</I> in the Windows 2000 DDK.</DD>
	</DL>
</DL>


<!!!>
<!!!	W	!!!>
<!!!>
<H3><P><BR><BR><A NAME=W>	W	</A></H3>

<DL>

	<DT><P><BR><BR><B><A NAME=KWD_WV">
	Wave</A></B>

	<DD>
	audio format
	</DD>


</DL>


<!!!>
<!!!	X	!!!>
<!!!>
<H3><P><BR><BR><A NAME=X>	X	</A></H3>


<!!!>
<!!!	Y	!!!>
<!!!>
<H3><P><BR><BR><A NAME=Y>	Y	</A></H3>




<!!!>
<!!!	Z	!!!>
<!!!>
<H3><P><BR><BR><A NAME=Z>	Z	</A></H3>


</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -