Strings
The Strings
section defines one or more strings keys. A strings key is a name that
represents a string of printable characters. Although the Strings section
is usually the last section in an INF file, a strings key defined in a Strings
section can be used anywhere in the INF file that uses the string. The
installer expands the string key to the specified string and uses it for
further processing. When a strings key is used, it must be enclosed by percent
signs (%). To use a % character in the string, use %%.
[Strings]
strings-key=value
.
.
.
strings-key
A unique name
consisting of letters and digits.
value
A string
consisting of letters, digits, or other printable characters. It should be
enclosed in double quotation marks if the corresponding strings key is used in
a type of item that requires double quotation marks.
The Strings
section simplifies translation of strings for international markets by placing
all strings that can be displayed at the user interface in a single section of
the INF file. Strings keys should be used whenever possible. The following
example shows the Strings section of a typical INF file.
[Strings]
String0="Corporation X"
String1="Corporation X"
String2="CS2590 SCSI Adapter"