The Device section gives the device description, identifies the Install section, and specifies the device identifier for a device. Optionally, a Device section may specify one or more device identifiers of compatible devices.
There can be one or more items in the Device section, depending upon how many devices the INF file installs for a manufacturer.
[device-section]
device-description=install-section-name,device-id[,compatible-device-id]...
[device-description=install-section-name,device-id[,compatible-device-id]...]
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. The Install section name will be suffixed with an extension denoting a specific operating system or platform. This extension allows you to create custom Install sections if necessary.
device-id
Identifier for this device. The device identifier can be used in a ControlFlags section to control the way the device is handled by the Device Installer during installation.
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 Ser_Inst and the device-id is *PNP0F08.
[LogiMfg]
%*pnp0f08.DeviceDesc%=Ser_Inst,*PNP0F08 ; Logi serial mouse
For each driver installed using this INF file, the Device Installer uses the information in the Manufacturer and Device sections to generate Driver Description, Manufacturer Name, Device ID, and Compatibility List entries in the registry.