Skip to content

Latest commit

 

History

History
69 lines (53 loc) · 3.08 KB

nf-wdm-pofxcompletedevicepowernotrequired.md

File metadata and controls

69 lines (53 loc) · 3.08 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:wdm.PoFxCompleteDevicePowerNotRequired
PoFxCompleteDevicePowerNotRequired function (wdm.h)
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.
kernel\pofxcompletedevicepowernotrequired.htm
kernel
04/30/2018
PoFxCompleteDevicePowerNotRequired function
PoFxCompleteDevicePowerNotRequired, PoFxCompleteDevicePowerNotRequired routine [Kernel-Mode Driver Architecture], kernel.pofxcompletedevicepowernotrequired, wdm/PoFxCompleteDevicePowerNotRequired
wdm.h
Universal
Available starting with Windows 8.
Ntoskrnl.lib
Ntoskrnl.exe
<= DISPATCH_LEVEL
Windows
PoFxCompleteDevicePowerNotRequired
wdm/PoFxCompleteDevicePowerNotRequired
APIRef
kbSyntax
DllExport
Ntoskrnl.exe
PoFxCompleteDevicePowerNotRequired

PoFxCompleteDevicePowerNotRequired function

-description

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.

-parameters

-param Handle [in]

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

-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.

-see-also

DevicePowerNotRequiredCallback

PoFxRegisterDevice