Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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,
ProcessOverrideSubsequentPrefetchParameter,
ProcessMaxOverridePrefetchParameter,
ProcessInformationClassMax
} PROCESS_INFORMATION_CLASS;
Constants
ProcessMemoryPriorityThe 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. |
ProcessMemoryExhaustionInfoThe 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. |
ProcessAppMemoryInfoThe 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. |
ProcessInPrivateInfoIf 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. |
ProcessPowerThrottlingThe 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. |
ProcessReservedValue1Reserved. |
ProcessTelemetryCoverageInfoReserved. |
ProcessProtectionLevelInfoThe process information is represented by a PROCESS_PROTECTION_LEVEL_INFORMATION structure. |
ProcessLeapSecondInfoThe process information is represented by a PROCESS_LEAP_SECOND_INFO structure. |
ProcessMachineTypeInfoThe process is represented by a PROCESS_MACHINE_INFORMATION structure. |
ProcessOverrideSubsequentPrefetchParameterCan be used in a call to the SetProcessInformation function to set an OVERRIDE_PREFETCH_PARAMETER structure for the application that called it. The prefetch parameter is used to differentiate different file access patterns for the same process name. |
ProcessMaxOverridePrefetchParameterCan be used in a call to the GetProcessInformation function to query the maximum allowable value (inclusive) for an OVERRIDE_PREFETCH_PARAMETER structure. (The prefetch parameter is used to differentiate different file access patterns for the same process name.) |
ProcessInformationClassMaxThe maximum value for this enumeration. This value may change in a future version. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Build 22000 |
| Minimum supported server | Windows Build 22000 |
| Header | processthreadsapi.h |
See also
GetProcessInformation function, SetProcessInformation function, APP_MEMORY_INFORMATION structure, PROCESS_MACHINE_INFORMATION structure, PROCESS_MEMORY_EXHAUSTION_INFO structure