Edit

Share via


THREAD_POWER_THROTTLING_STATE structure (processthreadsapi.h)

Specifies the throttling policies and how to apply them to a target thread when that thread is subject to power management. This structure is used by the SetThreadInformation function.

Syntax

typedef struct _THREAD_POWER_THROTTLING_STATE {
  ULONG Version;
  ULONG ControlMask;
  ULONG StateMask;
} THREAD_POWER_THROTTLING_STATE;

Members

Version

The version of the THREAD_POWER_THROTTLING_STATE structure.

Value Meaning
THREAD_POWER_THROTTLING_CURRENT_VERSION The current version.

ControlMask

This field enables the caller to take control of the power throttling mechanism.

Value Meaning
THREAD_POWER_THROTTLING_EXECUTION_SPEED Manages the execution speed of the thread.

StateMask

Manages the power throttling mechanism on/off state.

Value Meaning
THREAD_POWER_THROTTLING_EXECUTION_SPEED Manages the execution speed of the thread.

Requirements

Requirement Value
Header processthreadsapi.h