PoDeletePowerRequest function

The PoDeletePowerRequest routine deletes a power request object.

Syntax

NTKERNELAPI VOID PoDeletePowerRequest(
  PVOID PowerRequest
);

Parameters

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

   
Windows version Available starting with Windows 7.
Target Platform Universal
Header ntifs.h (include Wdm.h, Ntddk.h, Ntifs.h)
Library NtosKrnl.lib
DLL NtosKrnl.exe
IRQL "<=APC_LEVEL"

See Also

PoCreatePowerRequest