PoFxCompleteIdleCondition routine

The PoFxCompleteIdleCondition routine informs the power management framework (PoFx) that the specified component has completed a pending change to the idle condition.

Syntax


VOID PoFxCompleteIdleCondition(
  _In_  POHANDLE Handle,
  _In_  ULONG Component
);

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.

Component [in]

The index that identifies the component. This parameter is an index into the Components array in the PO_FX_DEVICE structure that the device driver used to register the device with PoFx. If the Components array contains N elements, component indexes range from 0 to N–1.

Return value

None.

Remarks

After PoFx calls the driver's ComponentIdleConditionCallback callback routine, the driver must respond by calling PoFxCompleteIdleCondition.

When PoFx calls the driver's ComponentIdleConditionCallback routine, the driver initiates a transition to the idle condition in the specified component. After this transition is complete, the driver calls PoFxCompleteIdleCondition to notify PoFx. The PoFxCompleteIdleCondition call can occur either during or after the ComponentIdleConditionCallback call.

Requirements

Version

Available starting with Windows 8.

Header

Wdm.h

DLL

Ntoskrnl.exe

IRQL

<= DISPATCH_LEVEL

See also

ComponentIdleConditionCallback
PO_FX_DEVICE
PoFxRegisterDevice

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft