Previous Next

Components of a Driver Package

Supporting a device on a Windows operating system typically involves the following components:

A brief description of each component follows.

The Device

If you're involved in designing and building a new device, follow industry hardware standards. Building devices that conform to industry standards can streamline your driver development process as well as reduce support costs. Not only do test suites exist for such devices, but in many cases generic drivers exist for standard types, so you might not need to write a new driver.

See the Windows Platform Development Web site for information about industry standards and specifications.

Driver Files

The driver is the part of the package that provides the I/O interface for a device. Typically, a driver is a dynamic-link library with the .sys file name extension. Long file names are allowed, except for boot drivers. When a device is installed, Setup copies the .sys file to the %windir%\system32\drivers directory.

The software required to support a particular device depends on the features of the device and the bus or port to which it connects. Microsoft ships drivers for many common devices and nearly all buses with the operating system. If your device can be serviced by one of these drivers, you might need to write only a device-specific minidriver. A minidriver handles device-specific features on behalf of a system-supplied driver. For some types of devices, even a minidriver is not necessary. For example, modems can typically be supported with just installation files.

Installation Files

In addition to the device and the driver, a driver package also contains one or more of the following files, which provide driver installation:

Other Files

A driver package can also contain other files, such as a device installation application, a device icon, and so forth. For more information, see the following topics:

Supplying a Device Installation Application

Providing Device Property Pages

Installing a Boot Driver