POFXCALLBACKCRITICALRESOURCE - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// pep_x.h

POFXCALLBACKCRITICALRESOURCE Pofxcallbackcriticalresource;

VOID Pofxcallbackcriticalresource(
  [in] POHANDLE DeviceHandle,
  [in] ULONG Component,
  [in] BOOLEAN Active
)
{...}
View the official Windows Driver Kit DDI reference
// pepfx.h

POFXCALLBACKCRITICALRESOURCE Pofxcallbackcriticalresource;

VOID Pofxcallbackcriticalresource(
  [in] POHANDLE DeviceHandle,
  [in] ULONG Component,
  [in] BOOLEAN Active
)
{...}
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-pep_x-pofxcallbackcriticalresource)

POFXCALLBACKCRITICALRESOURCE callback function (pep_x.h)

Description

The TransitionCriticalResource routine changes the active/inactive state of a core system component.

Parameters

DeviceHandle [in]

A POHANDLE value that represents the registration of the device with PoFx. The PEP previously received this handle from PoFx during the PEP_DPM_REGISTER_DEVICE notification that informed the PEP that the device's driver stack registered the device with PoFx.

Component [in]

[in] The index that identifies the component. This member is an index into the Components array in the PEP_DEVICE_REGISTER_V2 structure that the PEP previously supplied in response to the PEP_DPM_REGISTER_DEVICE notification for this device. If the Components array contains N elements, component indexes range from 0 to N–1.

Active [in]

Whether to transition the device from inactive to active, or vice versa. Set to TRUE to transition the device from inactive to active, or to FALSE to transition the device from active to inactive.

Remarks

This routine is implemented by the power management framework (PoFx) and is called by the platform extension plug-in (PEP). The TransitionCriticalResource member of the PEP_KERNEL_INFORMATION_STRUCT_V3 structure is a pointer to an TransitionCriticalResource routine.

A PEP can call this routine at IRQL <= HIGH_LEVEL.

See also

PEP_DEVICE_REGISTER_V2

PEP_DPM_REGISTER_DEVICE

PEP_KERNEL_INFORMATION_STRUCT_V3


Windows Driver Kit DDI reference (nc-pepfx-pofxcallbackcriticalresource)

POFXCALLBACKCRITICALRESOURCE callback function (pepfx.h)

Description

The TransitionCriticalResource routine changes the active/inactive state of a core system component.

Parameters

DeviceHandle [in]

A POHANDLE value that represents the registration of the device with PoFx. The PEP previously received this handle from PoFx during the PEP_DPM_REGISTER_DEVICE notification that informed the PEP that the device's driver stack registered the device with PoFx.

Component [in]

[in] The index that identifies the component. This member is an index into the Components array in the PEP_DEVICE_REGISTER_V2 structure that the PEP previously supplied in response to the PEP_DPM_REGISTER_DEVICE notification for this device. If the Components array contains N elements, component indexes range from 0 to N–1.

Active [in]

Whether to transition the device from inactive to active, or vice versa. Set to TRUE to transition the device from inactive to active, or to FALSE to transition the device from active to inactive.

Remarks

This routine is implemented by the power management framework (PoFx) and is called by the platform extension plug-in (PEP). The TransitionCriticalResource member of the PEP_KERNEL_INFORMATION_STRUCT_V3 structure is a pointer to an TransitionCriticalResource routine.

A PEP can call this routine at IRQL <= HIGH_LEVEL.

See also

PEP_DEVICE_REGISTER_V2

PEP_DPM_REGISTER_DEVICE

PEP_KERNEL_INFORMATION_STRUCT_V3