

In the INF DDInstall section (named NewBatt_Inst in the example), an INF CopyFiles directive copies the battery class driver ( Battc.sys) and the new miniclass driver ( NewBatt.sys) to the destination specified in the DestinationDirs directive. %ACPI\acpidevnum.DeviceDesc% = NewBatt_Inst,ACPI\acpidevnum

For information about creating these IDs, see the Advanced Configuration and Power Interface Specification, which is available through the ACPI / Power Management website. If the device is enumerated through ACPI, this section must also specify the EISA-style ID (shown as acpidevnum). The INF Models section specifies the PnP hardware ID of the battery (shown as pnpid in the example). The INF Manufacturer section defines the manufacturer of the device. In the INF DestinationDirs section, a battery driver's INF specifies the Drivers directory (12) as the default for all files. Note that %M圜o% must be defined in an INF Strings section (not shown). VersionĪ battery driver's INF file specifies the Battery class and its GUID, using the INF Version section, as shown in the following example: ĬlassGuid= For more information about creating and distributing INF files and installing drivers, see Creating an INF File and INF File Sections and Directives.Ī battery driver's INF file includes the sections described below. This section describes battery-specific entries in the INF file. All battery devices are members of the Battery class and the battery class installer installs the driver. A battery driver's INF file specifies information about the driver and the devices it controls.
