Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

PoSetSystemWakeDevice function (wdm.h)

The PoSetSystemWakeDevice function attempts to extract a PDO from the supplied device object. If a valid PDO is found then it is added to the list of sources which contributed to waking the system from a sleep state. There is a time interval (currently 2 seconds) during which, from the completed wait/wake IRPs, the power manager attempts to build a list of system wake sources.

Syntax

VOID PoSetSystemWakeDevice(
 [in] PDEVICE_OBJECT DeviceObject
);

Parameters

[in] DeviceObject

Supplies a pointer to the device object that has wait/wake IRPs contributing to waking the system from a sleep state.

Return value

None

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header wdm.h

Feedback

Was this page helpful?

Additional resources