PEP_WORK_INFORMATION structure (pep_x.h)

La structure PEP_WORK_INFORMATION décrit un élément de travail que le PEP envoie à l’infrastructure 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 sans nom 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

L’union sans nom est la structure de données associée au type de travail spécifié par le membre WorkType .

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

Configuration requise

Condition requise Valeur
Client minimal pris en charge Pris en charge à partir de Windows 10.
En-tête pep_x.h (include Pep_x.h)

Voir aussi