Share via


Stream Interface Configuration for Power Management

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. For more information about exposing the stream interface, see Stream Interface Driver Implementation.

In addition to the stream interface functions, your driver must support the IOCTL_POWER_CAPABILITIES and IOCTL_POWER_SET IOCTLs. 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

How to Add Power Management to a Device Driver

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.