PROCESS_INFORMATION_CLASS enumeration (processthreadsapi.h)

Indicates a specific class of process information. Values from this enumeration are passed into the GetProcessInformation and SetProcessInformation functions to specify the type of process information passed in the void pointer argument of the function call.

Syntax

typedef enum _PROCESS_INFORMATION_CLASS {
  ProcessMemoryPriority,
  ProcessMemoryExhaustionInfo,
  ProcessAppMemoryInfo,
  ProcessInPrivateInfo,
  ProcessPowerThrottling,
  ProcessReservedValue1,
  ProcessTelemetryCoverageInfo,
  ProcessProtectionLevelInfo,
  ProcessLeapSecondInfo,
  ProcessMachineTypeInfo,
  ProcessInformationClassMax
} PROCESS_INFORMATION_CLASS;

Constants

 
ProcessMemoryPriority
The process information is represented by a MEMORY_PRIORITY_INFORMATION structure. Allows applications to lower the default memory priority of threads that perform background operations or access files and data that are not expected to be accessed again soon.
ProcessMemoryExhaustionInfo
The process information is represented by a PROCESS_MEMORY_EXHAUSTION_INFO structure. Allows applications to configure a process to terminate if an allocation fails to commit memory.
ProcessAppMemoryInfo
The process information is represented by a APP_MEMORY_INFORMATION structure. Allows applications to query the commit usage and the additional commit available to this process. Does not allow the caller to actually get a commit limit.
ProcessInPrivateInfo
If a process is set to ProcessInPrivate mode, and a trace session has set the EVENT_ENABLE_PROPERTY_EXCLUDE_INPRIVATE flag, then the trace session will drop all events from that process.
ProcessPowerThrottling
The process information is represented by a PROCESS_POWER_THROTTLING_STATE structure. Allows applications to configure how the system should throttle the target process’s activity when managing power.
ProcessReservedValue1
Reserved.
ProcessTelemetryCoverageInfo
Reserved.
ProcessProtectionLevelInfo
The process information is represented by a PROCESS_PROTECTION_LEVEL_INFORMATION structure.
ProcessLeapSecondInfo
The process information is represented by a PROCESS_LEAP_SECOND_INFO structure.
ProcessMachineTypeInfo
The process is represented by a PROCESS_MACHINE_INFORMATION structure.
ProcessInformationClassMax
The maximum value for this enumeration. This value may change in a future version.

Requirements

   
Minimum supported client Windows Build 22000
Minimum supported server Windows Build 22000
Header processthreadsapi.h