Click to Rate and Give Feedback
MSDN
MSDN Library
Power Management
 IOCTL_POWER_CAPABILITIES
Collapse All/Expand All Collapse All
IOCTL_POWER_CAPABILITIES
Windows Mobile SupportedWindows Embedded CE Supported
8/28/2008

This I/O control checks device-specific capabilities.

pBufIn

[in] Set to a pointer to POWER_RELATIONSHIP. This defines the target device for parent and bus drivers. Otherwise, set to NULL.

dwLenIn

[in] Size of the POWER_RELATIONSHIP structure.

pBufOut

[out] Set to a pointer to POWER_CAPABILITIES. This defines the devices power capabilities.

dwLenOut

[out] Size of the POWER_CAPABILITIES structure.

pdwActualOut

[out] Number of bytes passed back in the pBufOut buffer.

TRUE indicates success. FALSE indicates failure.

If a driver fails this I/O control, Power Manager assumes that the driver does not handle the remaining I/O controls and does not send them. As a minimum, the driver should complete the DeviceDx in POWER_CAPABILITIES.

During initialization, through this I/O control, the device driver should put the device into D0 and report device capabilities as accurately as possible when queried by Power Manager.

All drivers that support Power Manager must handle this I/O control.

Headerpm.h
Windows Embedded CEWindows CE .NET 4.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2010 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker