PoDeletePowerRequest function (wdm.h)

The PoDeletePowerRequest routine deletes a power request object.

Syntax

void PoDeletePowerRequest(
  [in, out] PVOID PowerRequest
);

Parameters

[in, out] PowerRequest

A pointer to a power request object that was created by the PoCreatePowerRequest routine.

Return value

None

Remarks

The driver must delete the power request object before it deletes the device object that was used to create the power request object.

Requirements

Requirement Value
Minimum supported client Available starting with Windows 7.
Target Platform Universal
Header wdm.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL <=APC_LEVEL

See also

PoCreatePowerRequest