PEP_WORK_INFORMATION structure (pep_x.h)

The PEP_WORK_INFORMATION structure describes a work item that the PEP is submitting to the Windows power management framework (PoFx).

Syntax

typedef struct _PEP_WORK_INFORMATION {
  PEP_WORK_TYPE WorkType;
  union {
    PEP_WORK_POWER_CONTROL                         PowerControl;
    PEP_WORK_COMPLETE_IDLE_STATE                   CompleteIdleState;
    PEP_WORK_COMPLETE_PERF_STATE                   CompletePerfState;
    PEP_WORK_ACPI_NOTIFY                           AcpiNotify;
    PEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE ControlMethodComplete;
  };
} PEP_WORK_INFORMATION, *PPEP_WORK_INFORMATION;

Members

WorkType

A PEP_WORK_TYPE enumeration value. This member indicates the type of work requested by the PEP, which also determines the type of structure that is contained in the unnamed union in the PEP_WORK_INFORMATION structure.

PowerControl

A PEP_WORK_POWER_CONTROL structure. This structure is used if WorkType == PepWorkRequestPowerControl.

CompleteIdleState

A PEP_WORK_COMPLETE_IDLE_STATE structure. This structure is used if WorkType == PepWorkCompleteIdleState.

CompletePerfState

A PEP_WORK_COMPLETE_PERF_STATE structure. This structure is used if WorkType == PepWorkCompletePerfState.

AcpiNotify

A PEP_WORK_ACPI_NOTIFY structure. This structure is used if WorkType == PepWorkAcpiNotify.

ControlMethodComplete

A PEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE structure. This structure is used if WorkType == PepWorkAcpiEvaluateControlMethodComplete.

Remarks

The unnamed union is the data structure associated with the type of work specified by the WorkType member.

The WorkInformation member of the PEP_WORK structure is a pointer to a PEP_WORK_INFORMATION structure.

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 10.
Header pep_x.h (include Pep_x.h)

See also