PoFxCompleteDevicePowerNotRequired routine

The PoFxCompleteDevicePowerNotRequired routine notifies the power management framework (PoFx) that the calling driver has completed its response to a call to the driver's DevicePowerNotRequiredCallback callback routine.

Syntax


VOID PoFxCompleteDevicePowerNotRequired(
  _In_  POHANDLE Handle
);

Parameters

Handle [in]

A handle that represents the registration of the device with PoFx. The device driver previously received this handle from the PoFxRegisterDevice routine.

Return value

None.

Remarks

After PoFx calls the driver's DevicePowerNotRequiredCallback callback routine, the driver must respond by calling PoFxCompleteDevicePowerNotRequired.

PoFx calls the driver's DevicePowerNotRequiredCallback routine to inform the driver that the device is no longer required to remain in the D0 state. In response to this call, the driver can choose to enter a low-power Dx state or to remain in the D0 state. After the driver has completed its response to the DevicePowerNotRequiredCallback call, the driver calls PoFxCompleteDevicePowerNotRequired to inform PoFx. The PoFxCompleteDevicePowerNotRequired call can occur either during or after the DevicePowerNotRequiredCallback call.

Requirements

Version

Available starting with Windows 8.

Header

Wdm.h

DLL

Ntoskrnl.exe

IRQL

<= DISPATCH_LEVEL

See also

DevicePowerNotRequiredCallback
PoFxRegisterDevice

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft