Partager via


Power Management Implementation in Stream Interface Drivers

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

Before your driver can support power management, it must expose the stream interface. Exposing the stream interface provides a set of entry points to implement the standard file I/O functions that are used by the kernel.

In addition to the stream interface functions, your driver must support the IOCTL_POWER_CAPABILITIES and IOCTL_POWER_SET I/O controls.

For more information about support for IOCTL_POWER_SET, see IOCTL_POWER_SET Request Processing.

For more information about support for IOCTL_POWER_CAPABILITIES, see Device Power Capabilities.

Once you have configured the stream interface, you can configure your driver to support power management. For more information, see Power Management Implementation in Drivers.

See Also

Tasks

How to Add Power Management to a Device Driver