170 lines
5.7 KiB
HTML
170 lines
5.7 KiB
HTML
<HTML>
|
|
<BODY>
|
|
|
|
<FONT FACE=VERDANA SIZE=2 COLOR="#000000">
|
|
|
|
<DL>
|
|
<DT><A HREF="AC97SMPL.HTML#LP_VER_SECT" NAME=KWD_Version TARGET="LP_INFSRC"><B>
|
|
[Version]
|
|
</A></B></DT>
|
|
|
|
<DD>
|
|
A system-defined (reguired) section that contains basic information about the device to be installed : supporting OS, device class, device class GUID, provider information/references and driver information/versioning.
|
|
By default, this section always appears first in an INF file.
|
|
</DD>
|
|
<P><I>See also the </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML">Glossary</A></B> <I>entry for </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML#KWD_Version">[Version]</B></A>.
|
|
|
|
|
|
<H4>Entries and Values</H4>
|
|
|
|
<DL>
|
|
|
|
|
|
<DT><B><A HREF="AC97SMPL.HTML#LP_SIG_DEF" NAME=KWD_Signature TARGET="LP_INFSRC">
|
|
Signature
|
|
</A> = "</B><I>signature-name</I><B>"</B></DT>
|
|
<DD>
|
|
Can be any of <B>$</B><I>Windows NT</I><B>$</B>, <B>$</B><I>Chicago</I><B>$</B>, or <B>$</B><I>Windows 95</I><B>$</B>. The enclosing <B>$</B> are required but these strings are otherwise case-insensitive. If the <I>signature-name</I> is none of these string values, the file is not accepted as a valid INF.
|
|
<P>In this case, $<I>CHICAGO</I>$ indicates this INF file can run on both Windows 95/98 and on Windows 2000. Windows 95/98-dedicated INFs must have $<I>Windows 95</I>$ as <B>Signature</B>; for Windows 2000, the <B>Signature</B> is $<I>Windows NT</I>$.
|
|
<P><I>See also the </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML">Glossary</A></B> <I>entries for </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML#KWD_Signature">Signature</B></A>, <B><A HREF="RP_INFDEF_KEYWORDS.HTML#KWD_$">$</A></B>.
|
|
</DD>
|
|
|
|
|
|
|
|
<DT><A HREF="AC97SMPL.HTML#LP_CLS_DEF" NAME=KWD_CLASS TARGET="LP_INFSRC"><B><P><BR>
|
|
Class
|
|
</A> = </B><I>class-name</I></DT>
|
|
<DD>
|
|
Specifies the class name, such as one of the system-defined class names as listed in <I>devguid.h</I>, for the type of device to be installed from this INF file.
|
|
<P>It is usually accompanied by the corresponding system-defined GUID value in the <B><A HREF="#KWD_ClassGUID">ClassGUID</A></B> entry.
|
|
<P>In this case, the device setup class is a system-defined one :
|
|
<DL>
|
|
<BR><DT>Multimedia</DT>
|
|
<DD>Class = Media</DD>
|
|
<DD>ClassGuid = {4d36e96c-e325-11ce-bfc1-08002be10318}</DD>
|
|
</DL>
|
|
<P><I>See also the </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML">Glossary</A></B> <I>entry for </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML#KWD_Class">Class</B></A>.
|
|
</DD>
|
|
|
|
|
|
|
|
<DT><B><A HREF="AC97SMPL.HTML#LP_CLSGUID_DEF" NAME=KWD_CLASSGUID TARGET="LP_INFSRC"><P><BR>
|
|
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>In this case, the specified GUID <A HREF="AC97SMPL.HTML#LP_CLSGUID_DEF" TARGET="LP_INFSRC">{4d36e96c-e325-11ce-bfc1-08002be10318}</A> is pre-defined in <I>devguid.h</I> and corresponds to the <I>MEDIA</I> device class.
|
|
<P><I>See also the </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML">Glossary</A></B> <I>entry for </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML#KWD_ClassGUID">ClassGUID</B></A>.
|
|
</DD>
|
|
|
|
|
|
|
|
<P><DT><B><A HREF="AC97SMPL.HTML#LP_PRVDR_DEF" NAME=KWD_Provider TARGET="LP_INFSRC"><P><BR>
|
|
Provider
|
|
</A>=%</B><I>INF-creator</I><B>%</B></DT>
|
|
<DD>Identifies the provider of the INF file. Here it is specified as a token (%ProviderName%) that is expanded later in the INF's <B><A HREF="AC97SMPL.HTML#LP_STRINGS_SECT" TARGET="LP_INFSRC">Strings</A></B> section as follows :
|
|
<DL>
|
|
<P><DT>Definitions :</DT>
|
|
<DD><B><A HREF="AC97SMPL.HTML#LP_STRINGS_SECT" TARGET="LP_INFSRC">[Strings]</A></B><BR>...<BR>ProviderName="FooProviderName"</DD>
|
|
<P>
|
|
<DD><B><A HREF="AC97SMPL.HTML#LP_STRINGSLOC_SECT" TARGET="LP_INFSRC">[Strings.0407]</A></B><BR>...<BR>ProviderName="FooProviderName"</DD>
|
|
<P>
|
|
<DT>References :</DT>
|
|
<DD><B><A HREF="AC97SMPL.HTML#LP_VER_SECT" TARGET="LP_INFSRC">[Version]</A></B><BR>...<BR>Provider=%ProviderName%</DD>
|
|
</DL>
|
|
<P><I>See also the </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML">Glossary</A></B> <I>entry for </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML#KWD_Provider">Provider</B></A>.
|
|
</DD>
|
|
|
|
|
|
|
|
<DT><B><A HREF="AC97SMPL.HTML#LP_LYTFL_DEF" NAME=KWD_LayoutFile TARGET="LP_INFSRC"><P><BR>
|
|
LayoutFile
|
|
</A>=</B><I>filename</I><B>.inf</B><I> </I>[<B>,</B><I>filename</I><B>.inf</B>]...</DT>
|
|
<DD>Specifies one or more additional system-supplied INF files (in this case, <I>layout.inf</I>, <I>layout1.inf</I> and <I>layout2.inf</I>) that contain layout information on the source media required for installing the software described in this INF.
|
|
<P><I>See also the </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML">Glossary</A></B> <I>entry for </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML#KWD_LayoutFile">LayoutFile</B></A>.
|
|
</DD>
|
|
|
|
|
|
|
|
<DT><B><A HREF="AC97SMPL.HTML#LP_DRVVER_DEF" NAME=KWD_DriverVer TARGET="LP_INFSRC"><P><BR>
|
|
DriverVer
|
|
</A>=</B><I>mm/dd/yyyy</I>[<B>,</B><I>x.y.v.z</I>]</DT>
|
|
<DD>This entry specifies version information for drivers installed by this INF. This entry is required in Windows 2000 INFs.
|
|
<P>The <I>mm/dd/yyyy</I> value specifies the date of the driver package, including the driver files and the INF.
|
|
<P>The <I>x.y.v.z</I> specifies an optional version number. This value is for display purposes only (for example, in the Device Manager).
|
|
<P>In this case, the driver is dated 06/22/2000 and its version is 5.00.2246.1.
|
|
<P><I>See also the </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML">Glossary</A></B> <I>entry for </I><B><A HREF="RP_INFDEF_KEYWORDS.HTML#KWD_DriverVer">DriverVer</B></A>.
|
|
</DD>
|
|
</DL>
|
|
|
|
<PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</PRE>
|
|
|
|
</BODY>
|
|
</HTML>
|