POFXCALLBACKREQUESTCOMMON callback function (pepfx.h)

The RequestCommon routine is a generic request handler.

Syntax

POFXCALLBACKREQUESTCOMMON Pofxcallbackrequestcommon;

NTSTATUS Pofxcallbackrequestcommon(
  [in]                ULONG RequestId,
  [in, out, optional] PVOID Data
)
{...}

Parameters

[in] RequestId

A request ID that specifies the operation being requested.

[in, out, optional] Data

A pointer to a data structure that contains the input data and/or result data for the request specified by the RequestId parameter.

Return value

RequestCommon returns STATUS_SUCCESS if the request is successfully handled. Otherwise, it returns an appropriate error status code.

Remarks

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

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

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 10.
Target Platform Windows
Header pepfx.h (include Pep_x.h)
IRQL <= HIGH_LEVEL

See also

PEP_KERNEL_INFORMATION_STRUCT_V3