IOCTL_POWER_CAPABILITIES (Windows CE 5.0)
This IOCTL queries to determine device-specific capabilities.
Parameters
- 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.
Return Values
TRUE if successful, FALSE otherwise.
Remarks
If a driver fails this IOCTL, the Power Manager assumes the target driver does not handle the remaining IOCTLs and will not send them. As a minimum, the driver should complete the DeviceDx in POWER_CAPABILITIES.
All drivers that support the Power Manager interface must handle this IOCTL.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Pm.h.
See Also
POWER_CAPABILITIES | POWER_RELATIONSHIP
Send Feedback on this topic to the authors