[Manufacturer] <manufacturer-name> | %<strings-key>%=<device-section-name>
The Manufacturer section identifies a manufacturer of a device that can be installed using the INF file and names a Device section that describes that device.
manufacturer-name
Name of the device manufacturer. This name can be any combination of printable characters, but must uniquely identify the manufacturer and must be enclosed in double quotation marks.
strings-key
Name of a string defined in the Strings section of the INF file.
device-section-name
Name of the Device section. This name can be any combination of printable characters, but must uniquely identify another section in the INF file. The Device section:
The device ID specified in the Device section may be used in a ControlFlags section to modify the way the New Device Wizard and/or the Device Manager use the device description. The syntax and meaning of items that can be in a Device section and in a ControlFlags section are described later in this topic.
The syntax of a Device section is:
[<device-section>] <device-description>=<install-section-name,device-id>[,<compatible-device-id>]... [<device-description>=<install-section-name,device-id>[,<compatible-device-id>]...]
Each Device section item gives the device description, identifies the install-type section, and specifies the device ID for a device. Optionally, a Device section item may specify one or more device IDs of compatible devices.
There may be one or more items in the Device section, depending upon how many devices the INF file installs for a manufacturer.
device-description | Description of a device to install. This can be any combination of printable characters or a strings key. |
install-section-name | Name of the Install section for this device. |
device-id | Identifier for this device. |
compatible-device-id | Identifier of a compatible device. More than one compatible-device identifier can be given, but each must be preceded with a comma. |
This example shows a typical Device section containing one item. The name of the Install section for this device is SuperSCSI. The device-id is *PNPA000 and it is compatible with devices identified as *PnPA001.
[SCRUS] %DevDesc1% = SuperSCSI, *PNPA000, *PnPA001
For each driver installed using this INF file, the Device Manager and the New Device Wizard will use the information in the Manufacturer and Device sections to generate Driver Description, Manufacturer Name, DeviceID, and Compatibility List entries in the registry.
The device ID specified in the Device section may be used in a ControlFlags section to modify the way the New Device Wizard and/or the Device Manager use the device description. The syntax of the items that can be contained in a ControlFlags section is shown below:
[ControlFlags] CopyfilesOnly=<Device-id>[,<device-id>]... ExcludeFromSelect=<Device-id>[,<device-id>]...
The ControlFlags section provides a way to control how a device is handled both during installation and by the Device Manager. The Windows 95 New Device Wizard builds its list of installable devices by searching through INF files. The Device Manager also displays information about devices which originates in INF files.
CopyFilesOnly | Listing a device-id in a CopyFilesOnly item will allow the user to choose the device in the New Device Wizard but will stop the Wizard from actually doing the installation. When the user chooses the device from the Wizard will only copy files to the destination directory. Typically, devices which are enumerated should be listed in a CopyFilesOnly item. |
ExcludeFromSelect | Listing the device-id of a device in an ExcludeFromSelect item will remove the device completely from the New Device Wizard. Optionally, an asterisk (*) can be specified in place of the id list. Doing this will set ExcludeFromSelect for all devices listed in this INF file. |