#ifndef _NTPSAPI_H
#if (PHNT_MODE != PHNT_MODE_KERNEL)
/**
* The POWER_THROTTLING_THREAD_STATE structure contains the throttling policies of a thread subject to power management.
*
* \remarks https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/ntddk/ns-ntddk-_power_throttling_thread_state
*/
typedef struct _POWER_THROTTLING_THREAD_STATE
{
ULONG Version; // The version of this structure. Set to THREAD_POWER_THROTTLING_CURRENT_VERSION.
ULONG ControlMask; // Flags that enable the caller to take control of the power throttling mechanism.
ULONG StateMask; // Flags that manage the power throttling mechanism on/off state.
} POWER_THROTTLING_THREAD_STATE, *PPOWER_THROTTLING_THREAD_STATE;
View code on GitHub
This structure is documented in Windows Driver Kit.