ReactOS 0.4.16-dev-197-g92996da
pstypes.h File Reference

Go to the source code of this file.

Classes

union  _RATE_QUOTA_LIMIT
 
struct  _QUOTA_LIMITS_EX
 
struct  _IO_COUNTERS
 
struct  _VM_COUNTERS
 
struct  _VM_COUNTERS_EX
 
struct  _HARDWARE_COUNTER
 
struct  _POOLED_USAGE_AND_LIMITS
 
struct  _PROCESS_ACCESS_TOKEN
 
struct  _PROCESS_EXCEPTION_PORT
 
struct  _PS_CREATE_NOTIFY_INFO
 
struct  _IMAGE_INFO
 
struct  _IMAGE_INFO_EX
 
struct  _PAGE_PRIORITY_INFORMATION
 
struct  _PROCESS_WS_WATCH_INFORMATION
 
struct  _PROCESS_BASIC_INFORMATION
 
struct  _PROCESS_EXTENDED_BASIC_INFORMATION
 
struct  _PROCESS_DEVICEMAP_INFORMATION
 
struct  _PROCESS_DEVICEMAP_INFORMATION_EX
 
struct  _PROCESS_SESSION_INFORMATION
 
struct  _PROCESS_HANDLE_TRACING_ENABLE
 
struct  _PROCESS_HANDLE_TRACING_ENABLE_EX
 
struct  _PROCESS_HANDLE_TRACING_ENTRY
 
struct  _PROCESS_HANDLE_TRACING_QUERY
 

Macros

#define QUOTA_LIMITS_HARDWS_MIN_ENABLE   0x00000001
 
#define QUOTA_LIMITS_HARDWS_MIN_DISABLE   0x00000002
 
#define QUOTA_LIMITS_HARDWS_MAX_ENABLE   0x00000004
 
#define QUOTA_LIMITS_HARDWS_MAX_DISABLE   0x00000008
 
#define QUOTA_LIMITS_USE_DEFAULT_LIMITS   0x00000010
 
#define THREAD_TERMINATE   0x0001
 
#define THREAD_SUSPEND_RESUME   0x0002
 
#define THREAD_ALERT   0x0004
 
#define THREAD_GET_CONTEXT   0x0008
 
#define THREAD_SET_CONTEXT   0x0010
 
#define THREAD_SET_INFORMATION   0x0020
 
#define THREAD_SET_LIMITED_INFORMATION   0x0400
 
#define THREAD_QUERY_LIMITED_INFORMATION   0x0800
 
#define PROCESS_DUP_HANDLE   (0x0040)
 
#define PROCESS_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xFFFF)
 
#define THREAD_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xFFFF)
 
#define LOW_PRIORITY   0
 
#define LOW_REALTIME_PRIORITY   16
 
#define HIGH_PRIORITY   31
 
#define MAXIMUM_PRIORITY   32
 
#define QUOTA_LIMITS_HARDWS_MIN_ENABLE   0x00000001
 
#define QUOTA_LIMITS_HARDWS_MIN_DISABLE   0x00000002
 
#define QUOTA_LIMITS_HARDWS_MAX_ENABLE   0x00000004
 
#define QUOTA_LIMITS_HARDWS_MAX_DISABLE   0x00000008
 
#define QUOTA_LIMITS_USE_DEFAULT_LIMITS   0x00000010
 
#define MAX_HW_COUNTERS   16
 
#define THREAD_PROFILING_FLAG_DISPATCH   0x00000001
 
#define PROCESS_EXCEPTION_PORT_ALL_STATE_BITS   0x00000003UL
 
#define PROCESS_EXCEPTION_PORT_ALL_STATE_FLAGS   ((ULONG_PTR)((1UL << PROCESS_EXCEPTION_PORT_ALL_STATE_BITS) - 1))
 
#define IMAGE_ADDRESSING_MODE_32BIT   3
 
#define THREAD_CSWITCH_PMU_DISABLE   FALSE
 
#define THREAD_CSWITCH_PMU_ENABLE   TRUE
 
#define PROCESS_LUID_DOSDEVICES_ONLY   0x00000001
 
#define PROCESS_HANDLE_TRACING_MAX_STACKS   16
 

Typedefs

typedef union _RATE_QUOTA_LIMIT RATE_QUOTA_LIMIT
 
typedef union _RATE_QUOTA_LIMITPRATE_QUOTA_LIMIT
 
typedef struct _QUOTA_LIMITS_EX QUOTA_LIMITS_EX
 
typedef struct _QUOTA_LIMITS_EXPQUOTA_LIMITS_EX
 
typedef struct _IO_COUNTERS IO_COUNTERS
 
typedef struct _IO_COUNTERSPIO_COUNTERS
 
typedef struct _VM_COUNTERS VM_COUNTERS
 
typedef struct _VM_COUNTERSPVM_COUNTERS
 
typedef struct _VM_COUNTERS_EX VM_COUNTERS_EX
 
typedef struct _VM_COUNTERS_EXPVM_COUNTERS_EX
 
typedef enum _HARDWARE_COUNTER_TYPE HARDWARE_COUNTER_TYPE
 
typedef enum _HARDWARE_COUNTER_TYPEPHARDWARE_COUNTER_TYPE
 
typedef struct _HARDWARE_COUNTER HARDWARE_COUNTER
 
typedef struct _HARDWARE_COUNTERPHARDWARE_COUNTER
 
typedef struct _POOLED_USAGE_AND_LIMITS POOLED_USAGE_AND_LIMITS
 
typedef struct _POOLED_USAGE_AND_LIMITSPPOOLED_USAGE_AND_LIMITS
 
typedef struct _PROCESS_ACCESS_TOKEN PROCESS_ACCESS_TOKEN
 
typedef struct _PROCESS_ACCESS_TOKENPPROCESS_ACCESS_TOKEN
 
typedef struct _PROCESS_EXCEPTION_PORT PROCESS_EXCEPTION_PORT
 
typedef struct _PROCESS_EXCEPTION_PORTPPROCESS_EXCEPTION_PORT
 
typedef VOID(NTAPIPCREATE_PROCESS_NOTIFY_ROUTINE) (_In_ HANDLE ParentId, _In_ HANDLE ProcessId, _In_ BOOLEAN Create)
 
typedef struct _PS_CREATE_NOTIFY_INFO PS_CREATE_NOTIFY_INFO
 
typedef struct _PS_CREATE_NOTIFY_INFOPPS_CREATE_NOTIFY_INFO
 
typedef VOID(NTAPIPCREATE_PROCESS_NOTIFY_ROUTINE_EX) (_Inout_ PEPROCESS Process, _In_ HANDLE ProcessId, _Inout_opt_ PPS_CREATE_NOTIFY_INFO CreateInfo)
 
typedef VOID(NTAPIPCREATE_THREAD_NOTIFY_ROUTINE) (_In_ HANDLE ProcessId, _In_ HANDLE ThreadId, _In_ BOOLEAN Create)
 
typedef struct _IMAGE_INFO IMAGE_INFO
 
typedef struct _IMAGE_INFOPIMAGE_INFO
 
typedef struct _IMAGE_INFO_EX IMAGE_INFO_EX
 
typedef struct _IMAGE_INFO_EXPIMAGE_INFO_EX
 
typedef VOID(NTAPIPLOAD_IMAGE_NOTIFY_ROUTINE) (_In_ PUNICODE_STRING FullImageName, _In_ HANDLE ProcessId, _In_ PIMAGE_INFO ImageInfo)
 
typedef enum _PROCESSINFOCLASS PROCESSINFOCLASS
 
typedef enum _THREADINFOCLASS THREADINFOCLASS
 
typedef struct _PAGE_PRIORITY_INFORMATION PAGE_PRIORITY_INFORMATION
 
typedef struct _PAGE_PRIORITY_INFORMATIONPPAGE_PRIORITY_INFORMATION
 
typedef struct _PROCESS_WS_WATCH_INFORMATION PROCESS_WS_WATCH_INFORMATION
 
typedef struct _PROCESS_WS_WATCH_INFORMATIONPPROCESS_WS_WATCH_INFORMATION
 
typedef struct _PROCESS_BASIC_INFORMATION PROCESS_BASIC_INFORMATION
 
typedef struct _PROCESS_BASIC_INFORMATIONPPROCESS_BASIC_INFORMATION
 
typedef struct _PROCESS_EXTENDED_BASIC_INFORMATION PROCESS_EXTENDED_BASIC_INFORMATION
 
typedef struct _PROCESS_EXTENDED_BASIC_INFORMATIONPPROCESS_EXTENDED_BASIC_INFORMATION
 
typedef struct _PROCESS_DEVICEMAP_INFORMATION PROCESS_DEVICEMAP_INFORMATION
 
typedef struct _PROCESS_DEVICEMAP_INFORMATIONPPROCESS_DEVICEMAP_INFORMATION
 
typedef struct _PROCESS_DEVICEMAP_INFORMATION_EX PROCESS_DEVICEMAP_INFORMATION_EX
 
typedef struct _PROCESS_DEVICEMAP_INFORMATION_EXPPROCESS_DEVICEMAP_INFORMATION_EX
 
typedef struct _PROCESS_SESSION_INFORMATION PROCESS_SESSION_INFORMATION
 
typedef struct _PROCESS_SESSION_INFORMATIONPPROCESS_SESSION_INFORMATION
 
typedef struct _PROCESS_HANDLE_TRACING_ENABLE PROCESS_HANDLE_TRACING_ENABLE
 
typedef struct _PROCESS_HANDLE_TRACING_ENABLEPPROCESS_HANDLE_TRACING_ENABLE
 
typedef struct _PROCESS_HANDLE_TRACING_ENABLE_EX PROCESS_HANDLE_TRACING_ENABLE_EX
 
typedef struct _PROCESS_HANDLE_TRACING_ENABLE_EXPPROCESS_HANDLE_TRACING_ENABLE_EX
 
typedef struct _PROCESS_HANDLE_TRACING_ENTRY PROCESS_HANDLE_TRACING_ENTRY
 
typedef struct _PROCESS_HANDLE_TRACING_ENTRYPPROCESS_HANDLE_TRACING_ENTRY
 
typedef struct _PROCESS_HANDLE_TRACING_QUERY PROCESS_HANDLE_TRACING_QUERY
 
typedef struct _PROCESS_HANDLE_TRACING_QUERYPPROCESS_HANDLE_TRACING_QUERY
 

Enumerations

enum  _HARDWARE_COUNTER_TYPE { PMCCounter , MaxHardwareCounterType }
 
enum  _PROCESSINFOCLASS {
  ProcessBasicInformation = 0 , ProcessDebugPort = 7 , ProcessWow64Information = 26 , ProcessImageFileName = 27 ,
  ProcessBreakOnTermination = 29 , ProcessBasicInformation = 0 , ProcessQuotaLimits = 1 , ProcessIoCounters = 2 ,
  ProcessVmCounters = 3 , ProcessTimes = 4 , ProcessBasePriority = 5 , ProcessRaisePriority = 6 ,
  ProcessDebugPort = 7 , ProcessExceptionPort = 8 , ProcessAccessToken = 9 , ProcessLdtInformation = 10 ,
  ProcessLdtSize = 11 , ProcessDefaultHardErrorMode = 12 , ProcessIoPortHandlers = 13 , ProcessPooledUsageAndLimits = 14 ,
  ProcessWorkingSetWatch = 15 , ProcessUserModeIOPL = 16 , ProcessEnableAlignmentFaultFixup = 17 , ProcessPriorityClass = 18 ,
  ProcessWx86Information = 19 , ProcessHandleCount = 20 , ProcessAffinityMask = 21 , ProcessPriorityBoost = 22 ,
  ProcessDeviceMap = 23 , ProcessSessionInformation = 24 , ProcessForegroundInformation = 25 , ProcessWow64Information = 26 ,
  ProcessImageFileName = 27 , ProcessLUIDDeviceMapsEnabled = 28 , ProcessBreakOnTermination = 29 , ProcessDebugObjectHandle = 30 ,
  ProcessDebugFlags = 31 , ProcessHandleTracing = 32 , ProcessExecuteFlags = 34 , ProcessTlsInformation = 35 ,
  ProcessCookie = 36 , ProcessImageInformation = 37 , ProcessCycleTime = 38 , ProcessPagePriority = 39 ,
  ProcessInstrumentationCallback = 40 , ProcessThreadStackAllocation = 41 , ProcessWorkingSetWatchEx = 42 , ProcessImageFileNameWin32 = 43 ,
  ProcessImageFileMapping = 44 , ProcessAffinityUpdateMode = 45 , ProcessMemoryAllocationMode = 46 , ProcessGroupInformation = 47 ,
  ProcessTokenVirtualizationEnabled = 48 , ProcessConsoleHostProcess = 49 , ProcessWindowInformation = 50 , MaxProcessInfoClass ,
  ProcessBasicInformation , ProcessQuotaLimits , ProcessIoCounters , ProcessVmCounters ,
  ProcessTimes , ProcessBasePriority , ProcessRaisePriority , ProcessDebugPort ,
  ProcessExceptionPort , ProcessAccessToken , ProcessLdtInformation , ProcessLdtSize ,
  ProcessDefaultHardErrorMode , ProcessIoPortHandlers , ProcessPooledUsageAndLimits , ProcessWorkingSetWatch ,
  ProcessUserModeIOPL , ProcessEnableAlignmentFaultFixup , ProcessPriorityClass , ProcessWx86Information ,
  ProcessHandleCount , ProcessAffinityMask , ProcessPriorityBoost , ProcessDeviceMap ,
  ProcessSessionInformation , ProcessForegroundInformation , ProcessWow64Information , ProcessImageFileName ,
  ProcessLUIDDeviceMapsEnabled , ProcessBreakOnTermination , ProcessDebugObjectHandle , ProcessDebugFlags ,
  ProcessHandleTracing , ProcessIoPriority , ProcessExecuteFlags , ProcessTlsInformation ,
  ProcessCookie , ProcessImageInformation , ProcessCycleTime , ProcessPagePriority ,
  ProcessInstrumentationCallback , ProcessThreadStackAllocation , ProcessWorkingSetWatchEx , ProcessImageFileNameWin32 ,
  ProcessImageFileMapping , ProcessAffinityUpdateMode , ProcessMemoryAllocationMode , ProcessGroupInformation ,
  ProcessTokenVirtualizationEnabled , ProcessConsoleHostProcess , ProcessWindowInformation , MaxProcessInfoClass ,
  ProcessBasicInformation = 0 , ProcessDebugPort = 7 , ProcessWow64Information = 26 , ProcessImageFileName = 27 ,
  ProcessBreakOnTermination = 29
}
 
enum  _THREADINFOCLASS {
  ThreadBasicInformation , ThreadTimes , ThreadPriority , ThreadBasePriority ,
  ThreadAffinityMask , ThreadImpersonationToken , ThreadDescriptorTableEntry , ThreadEnableAlignmentFaultFixup ,
  ThreadEventPair_Reusable , ThreadQuerySetWin32StartAddress , ThreadZeroTlsCell , ThreadPerformanceCount ,
  ThreadAmILastThread , ThreadIdealProcessor , ThreadPriorityBoost , ThreadSetTlsArrayAddress ,
  ThreadIsIoPending , ThreadHideFromDebugger , ThreadBreakOnTermination , ThreadSwitchLegacyState ,
  ThreadIsTerminated , ThreadLastSystemCall , ThreadIoPriority , ThreadCycleTime ,
  ThreadPagePriority , ThreadActualBasePriority , ThreadTebInformation , ThreadCSwitchMon ,
  ThreadCSwitchPmu , ThreadWow64Context , ThreadGroupInformation , ThreadUmsInformation ,
  ThreadCounterProfiling , ThreadIdealProcessorEx , MaxThreadInfoClass , ThreadIsIoPending = 16 ,
  ThreadBasicInformation , ThreadTimes , ThreadPriority , ThreadBasePriority ,
  ThreadAffinityMask , ThreadImpersonationToken , ThreadDescriptorTableEntry , ThreadEnableAlignmentFaultFixup ,
  ThreadEventPair_Reusable , ThreadQuerySetWin32StartAddress , ThreadZeroTlsCell , ThreadPerformanceCount ,
  ThreadAmILastThread , ThreadIdealProcessor , ThreadPriorityBoost , ThreadSetTlsArrayAddress ,
  ThreadIsIoPending , ThreadHideFromDebugger , ThreadBreakOnTermination , ThreadSwitchLegacyState ,
  ThreadIsTerminated , ThreadLastSystemCall , ThreadIoPriority , ThreadCycleTime ,
  ThreadPagePriority , ThreadActualBasePriority , ThreadTebInformation , ThreadCSwitchMon ,
  ThreadCSwitchPmu , ThreadWow64Context , ThreadGroupInformation , ThreadUmsInformation ,
  ThreadCounterProfiling , ThreadIdealProcessorEx , MaxThreadInfoClass , ThreadBasicInformation ,
  ThreadTimes , ThreadPriority , ThreadBasePriority , ThreadAffinityMask ,
  ThreadImpersonationToken , ThreadDescriptorTableEntry , ThreadEnableAlignmentFaultFixup , ThreadEventPair_Reusable ,
  ThreadQuerySetWin32StartAddress , ThreadZeroTlsCell , ThreadPerformanceCount , ThreadAmILastThread ,
  ThreadIdealProcessor , ThreadPriorityBoost , ThreadSetTlsArrayAddress , ThreadIsIoPending ,
  ThreadHideFromDebugger , ThreadBreakOnTermination , ThreadSwitchLegacyState , ThreadIsTerminated ,
  ThreadLastSystemCall , ThreadIoPriority , ThreadCycleTime , ThreadPagePriority ,
  ThreadActualBasePriority , ThreadTebInformation , ThreadCSwitchMon , ThreadCSwitchPmu ,
  ThreadWow64Context , ThreadGroupInformation , ThreadUmsInformation , ThreadCounterProfiling ,
  ThreadIdealProcessorEx , MaxThreadInfoClass
}
 

Functions

 $if (_WDMDDK_) $endif(_WDMDDK_) $if(_NTDDK_) typedef struct _QUOTA_LIMITS
 

Variables

 QUOTA_LIMITS
 
PQUOTA_LIMITS
 
NTKERNELAPI PEPROCESS PsInitialSystemProcess
 

Macro Definition Documentation

◆ HIGH_PRIORITY

#define HIGH_PRIORITY   31

◆ IMAGE_ADDRESSING_MODE_32BIT

#define IMAGE_ADDRESSING_MODE_32BIT   3

Definition at line 194 of file pstypes.h.

◆ LOW_PRIORITY

#define LOW_PRIORITY   0

◆ LOW_REALTIME_PRIORITY

#define LOW_REALTIME_PRIORITY   16

◆ MAX_HW_COUNTERS

#define MAX_HW_COUNTERS   16

Definition at line 120 of file pstypes.h.

◆ MAXIMUM_PRIORITY

#define MAXIMUM_PRIORITY   32

◆ PROCESS_ALL_ACCESS

#define PROCESS_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xFFFF)

◆ PROCESS_DUP_HANDLE

#define PROCESS_DUP_HANDLE   (0x0040)

◆ PROCESS_EXCEPTION_PORT_ALL_STATE_BITS

#define PROCESS_EXCEPTION_PORT_ALL_STATE_BITS   0x00000003UL

Definition at line 151 of file pstypes.h.

◆ PROCESS_EXCEPTION_PORT_ALL_STATE_FLAGS

#define PROCESS_EXCEPTION_PORT_ALL_STATE_FLAGS   ((ULONG_PTR)((1UL << PROCESS_EXCEPTION_PORT_ALL_STATE_BITS) - 1))

Definition at line 152 of file pstypes.h.

◆ PROCESS_HANDLE_TRACING_MAX_STACKS

#define PROCESS_HANDLE_TRACING_MAX_STACKS   16

Definition at line 230 of file pstypes.h.

◆ PROCESS_LUID_DOSDEVICES_ONLY

#define PROCESS_LUID_DOSDEVICES_ONLY   0x00000001

Definition at line 228 of file pstypes.h.

◆ QUOTA_LIMITS_HARDWS_MAX_DISABLE [1/2]

#define QUOTA_LIMITS_HARDWS_MAX_DISABLE   0x00000008

◆ QUOTA_LIMITS_HARDWS_MAX_DISABLE [2/2]

#define QUOTA_LIMITS_HARDWS_MAX_DISABLE   0x00000008

◆ QUOTA_LIMITS_HARDWS_MAX_ENABLE [1/2]

#define QUOTA_LIMITS_HARDWS_MAX_ENABLE   0x00000004

◆ QUOTA_LIMITS_HARDWS_MAX_ENABLE [2/2]

#define QUOTA_LIMITS_HARDWS_MAX_ENABLE   0x00000004

◆ QUOTA_LIMITS_HARDWS_MIN_DISABLE [1/2]

#define QUOTA_LIMITS_HARDWS_MIN_DISABLE   0x00000002

◆ QUOTA_LIMITS_HARDWS_MIN_DISABLE [2/2]

#define QUOTA_LIMITS_HARDWS_MIN_DISABLE   0x00000002

◆ QUOTA_LIMITS_HARDWS_MIN_ENABLE [1/2]

#define QUOTA_LIMITS_HARDWS_MIN_ENABLE   0x00000001

◆ QUOTA_LIMITS_HARDWS_MIN_ENABLE [2/2]

#define QUOTA_LIMITS_HARDWS_MIN_ENABLE   0x00000001

◆ QUOTA_LIMITS_USE_DEFAULT_LIMITS [1/2]

#define QUOTA_LIMITS_USE_DEFAULT_LIMITS   0x00000010

◆ QUOTA_LIMITS_USE_DEFAULT_LIMITS [2/2]

#define QUOTA_LIMITS_USE_DEFAULT_LIMITS   0x00000010

◆ THREAD_ALERT

#define THREAD_ALERT   0x0004

◆ THREAD_ALL_ACCESS

#define THREAD_ALL_ACCESS   (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xFFFF)

◆ THREAD_CSWITCH_PMU_DISABLE

#define THREAD_CSWITCH_PMU_DISABLE   FALSE

Definition at line 225 of file pstypes.h.

◆ THREAD_CSWITCH_PMU_ENABLE

#define THREAD_CSWITCH_PMU_ENABLE   TRUE

Definition at line 226 of file pstypes.h.

◆ THREAD_GET_CONTEXT

#define THREAD_GET_CONTEXT   0x0008

◆ THREAD_PROFILING_FLAG_DISPATCH

#define THREAD_PROFILING_FLAG_DISPATCH   0x00000001

Definition at line 121 of file pstypes.h.

◆ THREAD_QUERY_LIMITED_INFORMATION

#define THREAD_QUERY_LIMITED_INFORMATION   0x0800

◆ THREAD_SET_CONTEXT

#define THREAD_SET_CONTEXT   0x0010

◆ THREAD_SET_INFORMATION

#define THREAD_SET_INFORMATION   0x0020

◆ THREAD_SET_LIMITED_INFORMATION

#define THREAD_SET_LIMITED_INFORMATION   0x0400

◆ THREAD_SUSPEND_RESUME

#define THREAD_SUSPEND_RESUME   0x0002

◆ THREAD_TERMINATE

#define THREAD_TERMINATE   0x0001

Typedef Documentation

◆ HARDWARE_COUNTER

◆ HARDWARE_COUNTER_TYPE

◆ IMAGE_INFO

◆ IMAGE_INFO_EX

◆ IO_COUNTERS

◆ PAGE_PRIORITY_INFORMATION

◆ PCREATE_PROCESS_NOTIFY_ROUTINE

typedef VOID(NTAPI * PCREATE_PROCESS_NOTIFY_ROUTINE) (_In_ HANDLE ParentId, _In_ HANDLE ProcessId, _In_ BOOLEAN Create)

Definition at line 159 of file pstypes.h.

◆ PCREATE_PROCESS_NOTIFY_ROUTINE_EX

typedef VOID(NTAPI * PCREATE_PROCESS_NOTIFY_ROUTINE_EX) (_Inout_ PEPROCESS Process, _In_ HANDLE ProcessId, _Inout_opt_ PPS_CREATE_NOTIFY_INFO CreateInfo)

Definition at line 182 of file pstypes.h.

◆ PCREATE_THREAD_NOTIFY_ROUTINE

typedef VOID(NTAPI * PCREATE_THREAD_NOTIFY_ROUTINE) (_In_ HANDLE ProcessId, _In_ HANDLE ThreadId, _In_ BOOLEAN Create)

Definition at line 188 of file pstypes.h.

◆ PHARDWARE_COUNTER

◆ PHARDWARE_COUNTER_TYPE

◆ PIMAGE_INFO

◆ PIMAGE_INFO_EX

◆ PIO_COUNTERS

◆ PLOAD_IMAGE_NOTIFY_ROUTINE

typedef VOID(NTAPI * PLOAD_IMAGE_NOTIFY_ROUTINE) (_In_ PUNICODE_STRING FullImageName, _In_ HANDLE ProcessId, _In_ PIMAGE_INFO ImageInfo)

Definition at line 219 of file pstypes.h.

◆ POOLED_USAGE_AND_LIMITS

◆ PPAGE_PRIORITY_INFORMATION

◆ PPOOLED_USAGE_AND_LIMITS

◆ PPROCESS_ACCESS_TOKEN

◆ PPROCESS_BASIC_INFORMATION

◆ PPROCESS_DEVICEMAP_INFORMATION

◆ PPROCESS_DEVICEMAP_INFORMATION_EX

◆ PPROCESS_EXCEPTION_PORT

◆ PPROCESS_EXTENDED_BASIC_INFORMATION

◆ PPROCESS_HANDLE_TRACING_ENABLE

◆ PPROCESS_HANDLE_TRACING_ENABLE_EX

◆ PPROCESS_HANDLE_TRACING_ENTRY

◆ PPROCESS_HANDLE_TRACING_QUERY

◆ PPROCESS_SESSION_INFORMATION

◆ PPROCESS_WS_WATCH_INFORMATION

◆ PPS_CREATE_NOTIFY_INFO

◆ PQUOTA_LIMITS_EX

◆ PRATE_QUOTA_LIMIT

◆ PROCESS_ACCESS_TOKEN

◆ PROCESS_BASIC_INFORMATION

◆ PROCESS_DEVICEMAP_INFORMATION

◆ PROCESS_DEVICEMAP_INFORMATION_EX

◆ PROCESS_EXCEPTION_PORT

◆ PROCESS_EXTENDED_BASIC_INFORMATION

◆ PROCESS_HANDLE_TRACING_ENABLE

◆ PROCESS_HANDLE_TRACING_ENABLE_EX

◆ PROCESS_HANDLE_TRACING_ENTRY

◆ PROCESS_HANDLE_TRACING_QUERY

◆ PROCESS_SESSION_INFORMATION

◆ PROCESS_WS_WATCH_INFORMATION

◆ PROCESSINFOCLASS

◆ PS_CREATE_NOTIFY_INFO

◆ PVM_COUNTERS

◆ PVM_COUNTERS_EX

◆ QUOTA_LIMITS_EX

◆ RATE_QUOTA_LIMIT

◆ THREADINFOCLASS

◆ VM_COUNTERS

◆ VM_COUNTERS_EX

Enumeration Type Documentation

◆ _HARDWARE_COUNTER_TYPE

Enumerator
PMCCounter 
MaxHardwareCounterType 

Definition at line 123 of file pstypes.h.

123 {
enum _HARDWARE_COUNTER_TYPE * PHARDWARE_COUNTER_TYPE
@ MaxHardwareCounterType
Definition: pstypes.h:125
@ PMCCounter
Definition: pstypes.h:124
enum _HARDWARE_COUNTER_TYPE HARDWARE_COUNTER_TYPE

◆ _PROCESSINFOCLASS

Enumerator
ProcessBasicInformation 
ProcessDebugPort 
ProcessWow64Information 
ProcessImageFileName 
ProcessBreakOnTermination 
ProcessBasicInformation 
ProcessQuotaLimits 
ProcessIoCounters 
ProcessVmCounters 
ProcessTimes 
ProcessBasePriority 
ProcessRaisePriority 
ProcessDebugPort 
ProcessExceptionPort 
ProcessAccessToken 
ProcessLdtInformation 
ProcessLdtSize 
ProcessDefaultHardErrorMode 
ProcessIoPortHandlers 
ProcessPooledUsageAndLimits 
ProcessWorkingSetWatch 
ProcessUserModeIOPL 
ProcessEnableAlignmentFaultFixup 
ProcessPriorityClass 
ProcessWx86Information 
ProcessHandleCount 
ProcessAffinityMask 
ProcessPriorityBoost 
ProcessDeviceMap 
ProcessSessionInformation 
ProcessForegroundInformation 
ProcessWow64Information 
ProcessImageFileName 
ProcessLUIDDeviceMapsEnabled 
ProcessBreakOnTermination 
ProcessDebugObjectHandle 
ProcessDebugFlags 
ProcessHandleTracing 
ProcessExecuteFlags 
ProcessTlsInformation 
ProcessCookie 
ProcessImageInformation 
ProcessCycleTime 
ProcessPagePriority 
ProcessInstrumentationCallback 
ProcessThreadStackAllocation 
ProcessWorkingSetWatchEx 
ProcessImageFileNameWin32 
ProcessImageFileMapping 
ProcessAffinityUpdateMode 
ProcessMemoryAllocationMode 
ProcessGroupInformation 
ProcessTokenVirtualizationEnabled 
ProcessConsoleHostProcess 
ProcessWindowInformation 
MaxProcessInfoClass 
ProcessBasicInformation 
ProcessQuotaLimits 
ProcessIoCounters 
ProcessVmCounters 
ProcessTimes 
ProcessBasePriority 
ProcessRaisePriority 
ProcessDebugPort 
ProcessExceptionPort 
ProcessAccessToken 
ProcessLdtInformation 
ProcessLdtSize 
ProcessDefaultHardErrorMode 
ProcessIoPortHandlers 
ProcessPooledUsageAndLimits 
ProcessWorkingSetWatch 
ProcessUserModeIOPL 
ProcessEnableAlignmentFaultFixup 
ProcessPriorityClass 
ProcessWx86Information 
ProcessHandleCount 
ProcessAffinityMask 
ProcessPriorityBoost 
ProcessDeviceMap 
ProcessSessionInformation 
ProcessForegroundInformation 
ProcessWow64Information 
ProcessImageFileName 
ProcessLUIDDeviceMapsEnabled 
ProcessBreakOnTermination 
ProcessDebugObjectHandle 
ProcessDebugFlags 
ProcessHandleTracing 
ProcessIoPriority 
ProcessExecuteFlags 
ProcessTlsInformation 
ProcessCookie 
ProcessImageInformation 
ProcessCycleTime 
ProcessPagePriority 
ProcessInstrumentationCallback 
ProcessThreadStackAllocation 
ProcessWorkingSetWatchEx 
ProcessImageFileNameWin32 
ProcessImageFileMapping 
ProcessAffinityUpdateMode 
ProcessMemoryAllocationMode 
ProcessGroupInformation 
ProcessTokenVirtualizationEnabled 
ProcessConsoleHostProcess 
ProcessWindowInformation 
MaxProcessInfoClass 
ProcessBasicInformation 
ProcessDebugPort 
ProcessWow64Information 
ProcessImageFileName 
ProcessBreakOnTermination 

Definition at line 232 of file pstypes.h.

232 {
enum _PROCESSINFOCLASS PROCESSINFOCLASS
@ ProcessPagePriority
Definition: pstypes.h:272
@ ProcessLUIDDeviceMapsEnabled
Definition: pstypes.h:261
@ ProcessMemoryAllocationMode
Definition: pstypes.h:279
@ ProcessTlsInformation
Definition: pstypes.h:268
@ ProcessWx86Information
Definition: pstypes.h:252
@ ProcessDebugFlags
Definition: pstypes.h:264
@ MaxProcessInfoClass
Definition: pstypes.h:284
@ ProcessConsoleHostProcess
Definition: pstypes.h:282
@ ProcessDebugPort
Definition: pstypes.h:240
@ ProcessSessionInformation
Definition: pstypes.h:257
@ ProcessBreakOnTermination
Definition: pstypes.h:262
@ ProcessWorkingSetWatchEx
Definition: pstypes.h:275
@ ProcessAffinityMask
Definition: pstypes.h:254
@ ProcessInstrumentationCallback
Definition: pstypes.h:273
@ ProcessImageFileMapping
Definition: pstypes.h:277
@ ProcessIoPortHandlers
Definition: pstypes.h:246
@ ProcessRaisePriority
Definition: pstypes.h:239
@ ProcessVmCounters
Definition: pstypes.h:236
@ ProcessPriorityClass
Definition: pstypes.h:251
@ ProcessPriorityBoost
Definition: pstypes.h:255
@ ProcessBasicInformation
Definition: pstypes.h:233
@ ProcessTokenVirtualizationEnabled
Definition: pstypes.h:281
@ ProcessImageInformation
Definition: pstypes.h:270
@ ProcessExecuteFlags
Definition: pstypes.h:267
@ ProcessCookie
Definition: pstypes.h:269
@ ProcessWow64Information
Definition: pstypes.h:259
@ ProcessPooledUsageAndLimits
Definition: pstypes.h:247
@ ProcessLdtSize
Definition: pstypes.h:244
@ ProcessIoCounters
Definition: pstypes.h:235
@ ProcessImageFileNameWin32
Definition: pstypes.h:276
@ ProcessDefaultHardErrorMode
Definition: pstypes.h:245
@ ProcessAffinityUpdateMode
Definition: pstypes.h:278
@ ProcessEnableAlignmentFaultFixup
Definition: pstypes.h:250
@ ProcessDeviceMap
Definition: pstypes.h:256
@ ProcessBasePriority
Definition: pstypes.h:238
@ ProcessQuotaLimits
Definition: pstypes.h:234
@ ProcessCycleTime
Definition: pstypes.h:271
@ ProcessAccessToken
Definition: pstypes.h:242
@ ProcessIoPriority
Definition: pstypes.h:266
@ ProcessHandleTracing
Definition: pstypes.h:265
@ ProcessThreadStackAllocation
Definition: pstypes.h:274
@ ProcessForegroundInformation
Definition: pstypes.h:258
@ ProcessWindowInformation
Definition: pstypes.h:283
@ ProcessTimes
Definition: pstypes.h:237
@ ProcessDebugObjectHandle
Definition: pstypes.h:263
@ ProcessExceptionPort
Definition: pstypes.h:241
@ ProcessWorkingSetWatch
Definition: pstypes.h:248
@ ProcessGroupInformation
Definition: pstypes.h:280
@ ProcessImageFileName
Definition: pstypes.h:260
@ ProcessLdtInformation
Definition: pstypes.h:243
@ ProcessHandleCount
Definition: pstypes.h:253
@ ProcessUserModeIOPL
Definition: pstypes.h:249

◆ _THREADINFOCLASS

Enumerator
ThreadBasicInformation 
ThreadTimes 
ThreadPriority 
ThreadBasePriority 
ThreadAffinityMask 
ThreadImpersonationToken 
ThreadDescriptorTableEntry 
ThreadEnableAlignmentFaultFixup 
ThreadEventPair_Reusable 
ThreadQuerySetWin32StartAddress 
ThreadZeroTlsCell 
ThreadPerformanceCount 
ThreadAmILastThread 
ThreadIdealProcessor 
ThreadPriorityBoost 
ThreadSetTlsArrayAddress 
ThreadIsIoPending 
ThreadHideFromDebugger 
ThreadBreakOnTermination 
ThreadSwitchLegacyState 
ThreadIsTerminated 
ThreadLastSystemCall 
ThreadIoPriority 
ThreadCycleTime 
ThreadPagePriority 
ThreadActualBasePriority 
ThreadTebInformation 
ThreadCSwitchMon 
ThreadCSwitchPmu 
ThreadWow64Context 
ThreadGroupInformation 
ThreadUmsInformation 
ThreadCounterProfiling 
ThreadIdealProcessorEx 
MaxThreadInfoClass 
ThreadIsIoPending 
ThreadBasicInformation 
ThreadTimes 
ThreadPriority 
ThreadBasePriority 
ThreadAffinityMask 
ThreadImpersonationToken 
ThreadDescriptorTableEntry 
ThreadEnableAlignmentFaultFixup 
ThreadEventPair_Reusable 
ThreadQuerySetWin32StartAddress 
ThreadZeroTlsCell 
ThreadPerformanceCount 
ThreadAmILastThread 
ThreadIdealProcessor 
ThreadPriorityBoost 
ThreadSetTlsArrayAddress 
ThreadIsIoPending 
ThreadHideFromDebugger 
ThreadBreakOnTermination 
ThreadSwitchLegacyState 
ThreadIsTerminated 
ThreadLastSystemCall 
ThreadIoPriority 
ThreadCycleTime 
ThreadPagePriority 
ThreadActualBasePriority 
ThreadTebInformation 
ThreadCSwitchMon 
ThreadCSwitchPmu 
ThreadWow64Context 
ThreadGroupInformation 
ThreadUmsInformation 
ThreadCounterProfiling 
ThreadIdealProcessorEx 
MaxThreadInfoClass 
ThreadBasicInformation 
ThreadTimes 
ThreadPriority 
ThreadBasePriority 
ThreadAffinityMask 
ThreadImpersonationToken 
ThreadDescriptorTableEntry 
ThreadEnableAlignmentFaultFixup 
ThreadEventPair_Reusable 
ThreadQuerySetWin32StartAddress 
ThreadZeroTlsCell 
ThreadPerformanceCount 
ThreadAmILastThread 
ThreadIdealProcessor 
ThreadPriorityBoost 
ThreadSetTlsArrayAddress 
ThreadIsIoPending 
ThreadHideFromDebugger 
ThreadBreakOnTermination 
ThreadSwitchLegacyState 
ThreadIsTerminated 
ThreadLastSystemCall 
ThreadIoPriority 
ThreadCycleTime 
ThreadPagePriority 
ThreadActualBasePriority 
ThreadTebInformation 
ThreadCSwitchMon 
ThreadCSwitchPmu 
ThreadWow64Context 
ThreadGroupInformation 
ThreadUmsInformation 
ThreadCounterProfiling 
ThreadIdealProcessorEx 
MaxThreadInfoClass 

Definition at line 287 of file pstypes.h.

287 {
enum _THREADINFOCLASS THREADINFOCLASS
@ ThreadEnableAlignmentFaultFixup
Definition: pstypes.h:295
@ ThreadCSwitchPmu
Definition: pstypes.h:316
@ ThreadDescriptorTableEntry
Definition: pstypes.h:294
@ ThreadEventPair_Reusable
Definition: pstypes.h:296
@ ThreadIdealProcessorEx
Definition: pstypes.h:321
@ ThreadAmILastThread
Definition: pstypes.h:300
@ ThreadTimes
Definition: pstypes.h:289
@ ThreadPagePriority
Definition: pstypes.h:312
@ ThreadUmsInformation
Definition: pstypes.h:319
@ ThreadCSwitchMon
Definition: pstypes.h:315
@ ThreadPriority
Definition: pstypes.h:290
@ MaxThreadInfoClass
Definition: pstypes.h:322
@ ThreadIdealProcessor
Definition: pstypes.h:301
@ ThreadActualBasePriority
Definition: pstypes.h:313
@ ThreadGroupInformation
Definition: pstypes.h:318
@ ThreadSwitchLegacyState
Definition: pstypes.h:307
@ ThreadQuerySetWin32StartAddress
Definition: pstypes.h:297
@ ThreadIsTerminated
Definition: pstypes.h:308
@ ThreadLastSystemCall
Definition: pstypes.h:309
@ ThreadBreakOnTermination
Definition: pstypes.h:306
@ ThreadImpersonationToken
Definition: pstypes.h:293
@ ThreadSetTlsArrayAddress
Definition: pstypes.h:303
@ ThreadAffinityMask
Definition: pstypes.h:292
@ ThreadBasePriority
Definition: pstypes.h:291
@ ThreadTebInformation
Definition: pstypes.h:314
@ ThreadIoPriority
Definition: pstypes.h:310
@ ThreadCycleTime
Definition: pstypes.h:311
@ ThreadBasicInformation
Definition: pstypes.h:288
@ ThreadCounterProfiling
Definition: pstypes.h:320
@ ThreadPriorityBoost
Definition: pstypes.h:302
@ ThreadPerformanceCount
Definition: pstypes.h:299
@ ThreadIsIoPending
Definition: pstypes.h:304
@ ThreadZeroTlsCell
Definition: pstypes.h:298
@ ThreadWow64Context
Definition: pstypes.h:317
@ ThreadHideFromDebugger
Definition: pstypes.h:305

Function Documentation

◆ $if()

$if ( _WDMDDK_  )

Kernel definitions for ARM64

Kernel definitions for AMD64

Kernel definitions for ARM

Definition at line 4 of file pstypes.h.

50 {
51 SIZE_T PagedPoolLimit;
52 SIZE_T NonPagedPoolLimit;
53 SIZE_T MinimumWorkingSetSize;
54 SIZE_T MaximumWorkingSetSize;
55 SIZE_T PagefileLimit;
56 LARGE_INTEGER TimeLimit;
QUOTA_LIMITS
Definition: pstypes.h:57
* PQUOTA_LIMITS
Definition: pstypes.h:57
ULONG_PTR SIZE_T
Definition: typedefs.h:80

Variable Documentation

◆ PQUOTA_LIMITS

Definition at line 57 of file pstypes.h.

◆ PsInitialSystemProcess

◆ QUOTA_LIMITS

Definition at line 57 of file pstypes.h.