estructura SET_POWER_SETTING_VALUE (wdm.h)

En este tema se describe la estructura de SET_POWER_SETTING_VALUE .

Sintaxis

typedef struct {
  ULONG                  Version;
  GUID                   Guid;
  SYSTEM_POWER_CONDITION PowerCondition;
  ULONG                  DataLength;
  UCHAR                  Data[ANYSIZE_ARRAY];
} SET_POWER_SETTING_VALUE, *PSET_POWER_SETTING_VALUE;

Miembros

Version

Versión de esta estructura. Actualmente debe establecerse en POWER_SETTING_VALUE_VERSION.

Guid

GUID que representa la configuración de energía que se está aplicando.

PowerCondition

El estado de alimentación a este valor se debe aplicar, por ejemplo, AC, DC, térmico, etc.

DataLength

Longitud en bytes del miembro Data .

Data[ANYSIZE_ARRAY]

Contiene el valor de configuración.

Requisitos

Requisito Value
Cliente mínimo compatible Windows 11, versión 22H2
Encabezado wdm.h (incluya Wdm.h)