POWER_INFORMATION_ENERGY_TRACKER_CREATE_INPUT - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTPOAPI_H

// rev
/**
 * The POWER_INFORMATION_ENERGY_TRACKER_CREATE_INPUT structure contains the input parameters for the energy tracker create operation.
 *
 * Despite its name, the low 16 bits of Reserved are used as a process energy-state aggregation mask
 * in the kernel (PROCESS_ENERGY_STATE_*). Each process entry contains the captured state
 * AND this mask in StateFlags. A zero mask produces zero StateFlags.
 */
typedef struct _POWER_INFORMATION_ENERGY_TRACKER_CREATE_INPUT
{
    ULONG MaxTrackedProcesses; // POWER_INFORMATION_ENERGY_TRACKER_PROCESS_MAX
    ULONG Reserved;            // Low 16 bits: PROCESS_ENERGY_STATE_* aggregation mask.
    ULONG Flags;               // POWER_INFORMATION_ENERGY_TRACKER_CREATE_FLAGS
} POWER_INFORMATION_ENERGY_TRACKER_CREATE_INPUT, *PPOWER_INFORMATION_ENERGY_TRACKER_CREATE_INPUT;

#endif

View code on GitHub

NtDoc

No description available.