Partager via


structure PEP_WORK_INFORMATION (pepfx.h)

La structure PEP_WORK_INFORMATION décrit un élément de travail que le pep envoie au framework de gestion de l’alimentation Windows (PoFx).

Syntaxe

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;

Membres

WorkType

Valeur d’énumération PEP_WORK_TYPE. Ce membre indique le type de travail demandé par le PEP, qui détermine également le type de structure contenu dans l’union non nommée dans la structure PEP_WORK_INFORMATION.

PowerControl

Structure PEP_WORK_POWER_CONTROL. Cette structure est utilisée si WorkType == PepWorkRequestPowerControl.

CompleteIdleState

Structure PEP_WORK_COMPLETE_IDLE_STATE. Cette structure est utilisée si WorkType == PepWorkCompleteIdleState.

CompletePerfState

Structure PEP_WORK_COMPLETE_PERF_STATE. Cette structure est utilisée si WorkType == PepWorkCompletePerfState.

AcpiNotify

Structure PEP_WORK_ACPI_NOTIFY. Cette structure est utilisée si WorkType == PepWorkAcpiNotify.

ControlMethodComplete

Structure PEP_WORK_ACPI_EVALUATE_CONTROL_METHOD_COMPLETE. Cette structure est utilisée si WorkType == PepWorkAcpiEvaluateControlMethodComplete.

Remarques

Le membre WorkInformation de la structure PEP_WORK est un pointeur vers une structure PEP_WORK_INFORMATION.

L’union non nommée contient la structure de données associée au type de travail spécifié par le membre WorkType.

Exigences

Exigence Valeur
client minimum pris en charge Prise en charge à partir de Windows 10.
d’en-tête pepfx.h (include Pep_x.h)

Voir aussi