Export (0) Print
Expand All

Multifunction Devices

A multifunction device occupies one location on its parent bus but contains more than one function. Combination printer/scanner/fax devices and modem/network cards are common multifunction devices.

In a multifunction device, the individual functions are independent. This means the functions must have the following characteristics:

  • The functions cannot have start-order dependencies.

  • The resource requirements for one function cannot be expressed in terms of the resources of another function (for example, function1 uses I/O port x and function2 uses port x + 200).

  • Each function must be able to operate as a separate device, even if it is serviced by the same drivers as another function.

Additionally, the following requirements must be met so that a multifunction device can be correctly configured on an NT-based platform:

  • Each function on the device must be enumerated.

  • Resource requirements for each function must be communicated to the PnP manager.

  • There must be INF files and drivers for each function.

The component responsible for each of these tasks depends on the multifunction standard for the device's parent bus, the extent to which the device conforms to the standard, and the capabilities of the parent bus driver.

If the device complies with the multifunction standards for its bus, your driver requirements are significantly reduced. Industry-wide multifunction standards have been defined for the PC Card and PCI buses. For the applicable hardware standards and guidelines, see the multifunction devices Web site.

If you are designing a multifunction printer, please follow the hardware, firmware and software recommendations available in the Multifunction Printer Design Recommendations white paper.

If you are working with a multifunction DVD/CD-ROM device used for data storage (not for audio/video playback) on a Windows XP or later operating system, you should use the system-supplied WDM DVD class driver, which treats the device as a single logical unit. For Windows 2000 and Windows 98, you should treat the device as two logical units (so it will appear with two drive letters). If the DVD capabilities are combined with some other type of function, you should treat the device as a single logical unit and supply a class driver that implements common command sets for all the features of the device. For more information, see the DVD technology Web site.

For a multifunction device that combines other functionality, you can use a system-supplied driver and INF file if the device complies with the multifunction standards for its bus. The system supplied multifunction driver (mf.sys) can handle the bus-level enumeration and resource allocation requirements for the device, and the system-supplied INF (mf.sys) can install the multifunction device. You need to supply only a function driver and INF file for each of the individual device functions.

If the device does not comply with the standard for its bus, you might need to supply a driver equivalent to mf.sys in functionality, in addition to function drivers and INF files for the device functions.

To install a multifunction device, you typically provide a base INF file for the device and an additional INF file for each of the device's functions. The base INF file typically copies the INF files for the device's individual functions. For information about how to accomplish this, see Copying INFs.

The following sections describe driver and installation requirements for various types of multifunction devices:

Supporting Multifunction PC Card Devices

Supporting Multifunction PCI Devices

Supporting Multifunction Devices On Other Buses

Using the System-Supplied Multifunction Bus Driver

Creating Resource Maps for a Multifunction Device

See INF File Sections and Directives for information about INF file syntax.

The rest of this section describes how to support multifunction devices on Windows 2000 and later NT-based platforms only.

The Windows Driver Kit (WDK) includes a separate section that describes how to support multifunction audio devices.



Send comments about this topic to Microsoft

© 2014 Microsoft