ReactOS 0.4.17-dev-444-g71ee754
pstypes.h
Go to the documentation of this file.
1/*++ NDK Version: 0098
2
3Copyright (c) Alex Ionescu. All rights reserved.
4
5Header Name:
6
7 pstypes.h
8
9Abstract:
10
11 Type definitions for the Process Manager
12
13Author:
14
15 Alex Ionescu (alexi@tinykrnl.org) - Updated - 27-Feb-2006
16
17--*/
18
19#ifndef _PSTYPES_H
20#define _PSTYPES_H
21
22//
23// Dependencies
24//
25#include <umtypes.h>
26#include <ldrtypes.h>
27#include <mmtypes.h>
28#include <obtypes.h>
29#include <rtltypes.h>
30#ifndef NTOS_MODE_USER
31#include <extypes.h>
32#include <setypes.h>
33#endif
34
35#ifdef __cplusplus
36extern "C" {
37#endif
38
39#ifndef NTOS_MODE_USER
40
41//
42// Kernel Exported Object Types
43//
45
46#endif // !NTOS_MODE_USER
47
48//
49// Global Flags
50//
51#define FLG_STOP_ON_EXCEPTION 0x00000001
52#define FLG_SHOW_LDR_SNAPS 0x00000002
53#define FLG_DEBUG_INITIAL_COMMAND 0x00000004
54#define FLG_STOP_ON_HUNG_GUI 0x00000008
55#define FLG_HEAP_ENABLE_TAIL_CHECK 0x00000010
56#define FLG_HEAP_ENABLE_FREE_CHECK 0x00000020
57#define FLG_HEAP_VALIDATE_PARAMETERS 0x00000040
58#define FLG_HEAP_VALIDATE_ALL 0x00000080
59#define FLG_APPLICATION_VERIFIER 0x00000100
60#define FLG_POOL_ENABLE_TAGGING 0x00000400
61#define FLG_HEAP_ENABLE_TAGGING 0x00000800
62#define FLG_USER_STACK_TRACE_DB 0x00001000
63#define FLG_KERNEL_STACK_TRACE_DB 0x00002000
64#define FLG_MAINTAIN_OBJECT_TYPELIST 0x00004000
65#define FLG_HEAP_ENABLE_TAG_BY_DLL 0x00008000
66#define FLG_DISABLE_STACK_EXTENSION 0x00010000
67#define FLG_ENABLE_CSRDEBUG 0x00020000
68#define FLG_ENABLE_KDEBUG_SYMBOL_LOAD 0x00040000
69#define FLG_DISABLE_PAGE_KERNEL_STACKS 0x00080000
70#if (NTDDI_VERSION < NTDDI_WINXP)
71#define FLG_HEAP_ENABLE_CALL_TRACING 0x00100000
72#else
73#define FLG_ENABLE_SYSTEM_CRIT_BREAKS 0x00100000
74#endif
75#define FLG_HEAP_DISABLE_COALESCING 0x00200000
76#define FLG_ENABLE_CLOSE_EXCEPTIONS 0x00400000
77#define FLG_ENABLE_EXCEPTION_LOGGING 0x00800000
78#define FLG_ENABLE_HANDLE_TYPE_TAGGING 0x01000000
79#define FLG_HEAP_PAGE_ALLOCS 0x02000000
80#define FLG_DEBUG_INITIAL_COMMAND_EX 0x04000000
81#define FLG_DISABLE_DEBUG_PROMPTS 0x08000000 // ReactOS-specific
82#define FLG_VALID_BITS 0x0FFFFFFF
83
84//
85// Flags for NtCreateProcessEx
86//
87#define PROCESS_CREATE_FLAGS_BREAKAWAY 0x00000001
88#define PROCESS_CREATE_FLAGS_NO_DEBUG_INHERIT 0x00000002
89#define PROCESS_CREATE_FLAGS_INHERIT_HANDLES 0x00000004
90#define PROCESS_CREATE_FLAGS_OVERRIDE_ADDRESS_SPACE 0x00000008
91#define PROCESS_CREATE_FLAGS_LARGE_PAGES 0x00000010
92#define PROCESS_CREATE_FLAGS_ALL_LARGE_PAGE_FLAGS PROCESS_CREATE_FLAGS_LARGE_PAGES
93#define PROCESS_CREATE_FLAGS_LEGAL_MASK (PROCESS_CREATE_FLAGS_BREAKAWAY | \
94 PROCESS_CREATE_FLAGS_NO_DEBUG_INHERIT | \
95 PROCESS_CREATE_FLAGS_INHERIT_HANDLES | \
96 PROCESS_CREATE_FLAGS_OVERRIDE_ADDRESS_SPACE | \
97 PROCESS_CREATE_FLAGS_ALL_LARGE_PAGE_FLAGS)
98
99//
100// Process priority classes
101//
102#define PROCESS_PRIORITY_CLASS_INVALID 0
103#define PROCESS_PRIORITY_CLASS_IDLE 1
104#define PROCESS_PRIORITY_CLASS_NORMAL 2
105#define PROCESS_PRIORITY_CLASS_HIGH 3
106#define PROCESS_PRIORITY_CLASS_REALTIME 4
107#define PROCESS_PRIORITY_CLASS_BELOW_NORMAL 5
108#define PROCESS_PRIORITY_CLASS_ABOVE_NORMAL 6
109
110//
111// Process base priorities
112//
113#define PROCESS_PRIORITY_IDLE 3
114#define PROCESS_PRIORITY_NORMAL 8
115#define PROCESS_PRIORITY_NORMAL_FOREGROUND 9
116
117//
118// Process memory priorities
119//
120#define MEMORY_PRIORITY_BACKGROUND 0
121#define MEMORY_PRIORITY_UNKNOWN 1
122#define MEMORY_PRIORITY_FOREGROUND 2
123
124//
125// Process Priority Separation Values (OR)
126//
127#define PSP_DEFAULT_QUANTUMS 0x00
128#define PSP_VARIABLE_QUANTUMS 0x04
129#define PSP_FIXED_QUANTUMS 0x08
130#define PSP_LONG_QUANTUMS 0x10
131#define PSP_SHORT_QUANTUMS 0x20
132
133//
134// Process Handle Tracing Values
135//
136#define PROCESS_HANDLE_TRACE_TYPE_OPEN 1
137#define PROCESS_HANDLE_TRACE_TYPE_CLOSE 2
138#define PROCESS_HANDLE_TRACE_TYPE_BADREF 3
139#define PROCESS_HANDLE_TRACING_MAX_STACKS 16
140
141#ifndef NTOS_MODE_USER
142//
143// Thread Access Types
144//
145#define THREAD_QUERY_INFORMATION 0x0040
146#define THREAD_SET_THREAD_TOKEN 0x0080
147#define THREAD_IMPERSONATE 0x0100
148#define THREAD_DIRECT_IMPERSONATION 0x0200
149
150//
151// Process Access Types
152//
153#define PROCESS_TERMINATE 0x0001
154#define PROCESS_CREATE_THREAD 0x0002
155#define PROCESS_SET_SESSIONID 0x0004
156#define PROCESS_VM_OPERATION 0x0008
157#define PROCESS_VM_READ 0x0010
158#define PROCESS_VM_WRITE 0x0020
159#define PROCESS_CREATE_PROCESS 0x0080
160#define PROCESS_SET_QUOTA 0x0100
161#define PROCESS_SET_INFORMATION 0x0200
162#define PROCESS_QUERY_INFORMATION 0x0400
163#define PROCESS_SUSPEND_RESUME 0x0800
164#define PROCESS_QUERY_LIMITED_INFORMATION 0x1000
165#if (NTDDI_VERSION >= NTDDI_LONGHORN)
166#define PROCESS_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \
167 SYNCHRONIZE | \
168 0xFFFF)
169#else
170#define PROCESS_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \
171 SYNCHRONIZE | \
172 0xFFF)
173#endif
174
175//
176// Thread Base Priorities
177//
178#define THREAD_BASE_PRIORITY_LOWRT 15
179#define THREAD_BASE_PRIORITY_MAX 2
180#define THREAD_BASE_PRIORITY_MIN -2
181#define THREAD_BASE_PRIORITY_IDLE -15
182
183//
184// TLS Slots
185//
186#define TLS_MINIMUM_AVAILABLE 64
187
188//
189// TEB Active Frame Flags
190//
191#define TEB_ACTIVE_FRAME_CONTEXT_FLAG_EXTENDED 0x1
192
193//
194// Job Access Types
195//
196#define JOB_OBJECT_ASSIGN_PROCESS 0x1
197#define JOB_OBJECT_SET_ATTRIBUTES 0x2
198#define JOB_OBJECT_QUERY 0x4
199#define JOB_OBJECT_TERMINATE 0x8
200#define JOB_OBJECT_SET_SECURITY_ATTRIBUTES 0x10
201#define JOB_OBJECT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \
202 SYNCHRONIZE | \
203 31)
204
205//
206// Job Limit Flags
207//
208#define JOB_OBJECT_LIMIT_WORKINGSET 0x1
209#define JOB_OBJECT_LIMIT_PROCESS_TIME 0x2
210#define JOB_OBJECT_LIMIT_JOB_TIME 0x4
211#define JOB_OBJECT_LIMIT_ACTIVE_PROCESS 0x8
212#define JOB_OBJECT_LIMIT_AFFINITY 0x10
213#define JOB_OBJECT_LIMIT_PRIORITY_CLASS 0x20
214#define JOB_OBJECT_LIMIT_PRESERVE_JOB_TIME 0x40
215#define JOB_OBJECT_LIMIT_SCHEDULING_CLASS 0x80
216#define JOB_OBJECT_LIMIT_PROCESS_MEMORY 0x100
217#define JOB_OBJECT_LIMIT_JOB_MEMORY 0x200
218#define JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION 0x400
219#define JOB_OBJECT_LIMIT_BREAKAWAY_OK 0x800
220#define JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK 0x1000
221#define JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE 0x2000
222
223//
224// Job Security Limit Flags
225//
226#define JOB_OBJECT_SECURITY_NO_ADMIN 0x0001
227#define JOB_OBJECT_SECURITY_RESTRICTED_TOKEN 0x0002
228#define JOB_OBJECT_SECURITY_ONLY_TOKEN 0x0004
229#define JOB_OBJECT_SECURITY_FILTER_TOKENS 0x0008
230
231//
232// Cross Thread Flags
233//
234#define CT_TERMINATED_BIT 0x1
235#define CT_DEAD_THREAD_BIT 0x2
236#define CT_HIDE_FROM_DEBUGGER_BIT 0x4
237#define CT_ACTIVE_IMPERSONATION_INFO_BIT 0x8
238#define CT_SYSTEM_THREAD_BIT 0x10
239#define CT_HARD_ERRORS_ARE_DISABLED_BIT 0x20
240#define CT_BREAK_ON_TERMINATION_BIT 0x40
241#define CT_SKIP_CREATION_MSG_BIT 0x80
242#define CT_SKIP_TERMINATION_MSG_BIT 0x100
243
244//
245// Same Thread Passive Flags
246//
247#define STP_ACTIVE_EX_WORKER_BIT 0x1
248#define STP_EX_WORKER_CAN_WAIT_USER_BIT 0x2
249#define STP_MEMORY_MAKER_BIT 0x4
250#define STP_KEYED_EVENT_IN_USE_BIT 0x8
251
252//
253// Same Thread APC Flags
254//
255#define STA_LPC_RECEIVED_MSG_ID_VALID_BIT 0x1
256#define STA_LPC_EXIT_THREAD_CALLED_BIT 0x2
257#define STA_ADDRESS_SPACE_OWNER_BIT 0x4
258#define STA_OWNS_WORKING_SET_BITS 0x1F8
259
260//
261// Kernel Process flags (maybe in ketypes.h?)
262//
263#define KPSF_AUTO_ALIGNMENT_BIT 0
264#define KPSF_DISABLE_BOOST_BIT 1
265
266//
267// Process Flags
268//
269#define PSF_CREATE_REPORTED_BIT 0x1
270#define PSF_NO_DEBUG_INHERIT_BIT 0x2
271#define PSF_PROCESS_EXITING_BIT 0x4
272#define PSF_PROCESS_DELETE_BIT 0x8
273#define PSF_WOW64_SPLIT_PAGES_BIT 0x10
274#define PSF_VM_DELETED_BIT 0x20
275#define PSF_OUTSWAP_ENABLED_BIT 0x40
276#define PSF_OUTSWAPPED_BIT 0x80
277#define PSF_FORK_FAILED_BIT 0x100
278#define PSF_WOW64_VA_SPACE_4GB_BIT 0x200
279#define PSF_ADDRESS_SPACE_INITIALIZED_BIT 0x400
280#define PSF_SET_TIMER_RESOLUTION_BIT 0x1000
281#define PSF_BREAK_ON_TERMINATION_BIT 0x2000
282#define PSF_SESSION_CREATION_UNDERWAY_BIT 0x4000
283#define PSF_WRITE_WATCH_BIT 0x8000
284#define PSF_PROCESS_IN_SESSION_BIT 0x10000
285#define PSF_OVERRIDE_ADDRESS_SPACE_BIT 0x20000
286#define PSF_HAS_ADDRESS_SPACE_BIT 0x40000
287#define PSF_LAUNCH_PREFETCHED_BIT 0x80000
288#define PSF_INJECT_INPAGE_ERRORS_BIT 0x100000
289#define PSF_VM_TOP_DOWN_BIT 0x200000
290#define PSF_IMAGE_NOTIFY_DONE_BIT 0x400000
291#define PSF_PDE_UPDATE_NEEDED_BIT 0x800000
292#define PSF_VDM_ALLOWED_BIT 0x1000000
293#define PSF_SWAP_ALLOWED_BIT 0x2000000
294#define PSF_CREATE_FAILED_BIT 0x4000000
295#define PSF_DEFAULT_IO_PRIORITY_BIT 0x8000000
296
297//
298// Vista Process Flags
299//
300#define PSF2_PROTECTED_BIT 0x800
301#endif
302
303//
304// TLS/FLS Defines
305//
306#define TLS_EXPANSION_SLOTS 1024
307
308#ifdef NTOS_MODE_USER
309//
310// Thread Native Base Priorities
311//
312#define LOW_PRIORITY 0
313#define LOW_REALTIME_PRIORITY 16
314#define HIGH_PRIORITY 31
315#define MAXIMUM_PRIORITY 32
316
317//
318// Current Process/Thread built-in 'special' handles
319//
320#define NtCurrentProcess() ((HANDLE)(LONG_PTR)-1)
321#define ZwCurrentProcess() NtCurrentProcess()
322#define NtCurrentThread() ((HANDLE)(LONG_PTR)-2)
323#define ZwCurrentThread() NtCurrentThread()
324
325//
326// Process/Thread/Job Information Classes for NtQueryInformationProcess/Thread/Job
327//
328typedef enum _PROCESSINFOCLASS
329{
379
380typedef enum _THREADINFOCLASS
381{
410
411 // Windows 7
412 ThreadCSwitchPmu, // 0x1C
418
419 // Windows 8
421
422 // Windows 8.1
423 ThreadSuspendCount, // 0x23
424
425 // Windows 10
432
447
450
451#else
452
454{
459
461{
474
475//
476// Power Event Events for Win32K Power Event Callback
477//
479{
494
495//
496// Power State Tasks for Win32K Power State Callback
497//
498typedef enum _POWERSTATETASK
499{
517
518//
519// Win32K Job Callback Types
520//
522{
527
528//
529// Win32K Thread Callback Types
530//
532{
536
537//
538// Declare empty structure definitions so that they may be
539// referenced by routines before they are defined.
540//
541//struct _EPROCESS;
542//struct _ETHREAD;
551
552//
553// Win32K Process and Thread Callbacks
554//
555typedef
558 _In_ struct _EPROCESS *Process,
560);
561
562typedef
565 _In_ struct _ETHREAD *Thread,
567);
568
569typedef
572 VOID
573);
574
575typedef
579);
580
581typedef
585);
586
587typedef
591);
592
593typedef
596 VOID
597);
598
599typedef
603);
604
605typedef
609);
610
611typedef
615);
616
617typedef
621);
622
623typedef
627);
628
629typedef
633);
634
635#if (NTDDI_VERSION >= NTDDI_LONGHORN)
636typedef
639 _In_ struct _EPROCESS *Process,
642);
643#endif
644
645//
646// Lego Callback
647//
648typedef
652);
653
654#endif
655
656typedef NTSTATUS
658 VOID
659);
660
661//
662// Descriptor Table Entry Definition
663//
664#if (_M_IX86)
665#define _DESCRIPTOR_TABLE_ENTRY_DEFINED
666typedef struct _DESCRIPTOR_TABLE_ENTRY
667{
668 ULONG Selector;
670} DESCRIPTOR_TABLE_ENTRY, *PDESCRIPTOR_TABLE_ENTRY;
671#endif
672
673//
674// PEB Lock Routine
675//
676typedef VOID
678 PVOID PebLock
679);
680
681//
682// PEB Free Block Descriptor
683//
684typedef struct _PEB_FREE_BLOCK
685{
686 struct _PEB_FREE_BLOCK* Next;
687 ULONG Size;
689
690//
691// Initial PEB
692//
693typedef struct _INITIAL_PEB
694{
698 union
699 {
701#if (NTDDI_VERSION >= NTDDI_WS03)
702 struct
703 {
705#if (NTDDI_VERSION >= NTDDI_LONGHORN)
709#else
711#endif
712 };
713#else
714 BOOLEAN SpareBool;
715#endif
716 };
719
720//
721// Initial TEB
722//
723typedef struct _INITIAL_TEB
724{
731
732//
733// TEB Active Frame Structures
734//
736{
741
743{
748
749typedef struct _TEB_ACTIVE_FRAME
750{
756
758{
763
764typedef struct _CLIENT_ID32
765{
769
770typedef struct _CLIENT_ID64
771{
775
776#if (NTDDI_VERSION < NTDDI_WS03)
777typedef struct _Wx86ThreadState
778{
779 PULONG CallBx86Eip;
780 PVOID DeallocationCpu;
781 BOOLEAN UseKnownWx86Dll;
782 CHAR OleStubInvoked;
783} Wx86ThreadState, *PWx86ThreadState;
784#endif
785
786//
787// PEB.AppCompatFlags.LowPart
788// Tag FLAG_MASK_KERNEL
789//
791{
818 DoNotAddToCache = 0x80000000,
820
821//
822// PEB.AppCompatFlags.HighPart
823// Tag FLAG_MASK_KERNEL
824//
826{
828
829 // ReactOS-specific
830 RendererFull3D = 0x80000000, // CORE-20322
832
833
834//
835// PEB.AppCompatFlagsUser.LowPart
836// Tag FLAG_MASK_USER
837//
839{
858 NoDdeSync = 0x40000,
859 NoGhost = 0x80000,
860 NoDdeAsyncReg = 0x100000,
861 StrictLLHook = 0x200000,
862 NoShadow = 0x400000,
864 HighDpiAware = 0x2000000,
865 OpenGLEmfAware = 0x4000000,
867 NoPaddedBorder = 0x10000000,
869 HardwareAudioMixer = 0x40000000,
872
873//
874// PEB.AppCompatFlagsUser.HighPart
875// Tag FLAG_MASK_USER
876//
878{
902 DPIUnaware = 0x800000,
903 NoVirtWndRects = 0x1000000,
906 GdiDPIScaling = 0x8000000,
911
912//
913// Process Environment Block (PEB)
914// Thread Environment Block (TEB)
915//
916#include "peb_teb.h"
917
918#ifdef _WIN64
919//
920// Explicit 32 bit PEB/TEB
921//
922#define EXPLICIT_32BIT
923#include "peb_teb.h"
924#undef EXPLICIT_32BIT
925
926//
927// Explicit 64 bit PEB/TEB
928//
929#define EXPLICIT_64BIT
930#include "peb_teb.h"
931#undef EXPLICIT_64BIT
932#endif
933
934#ifdef NTOS_MODE_USER
935
936//
937// Process Information Structures for NtQueryProcessInformation
938//
939typedef struct _PROCESS_BASIC_INFORMATION
940{
948
949typedef struct _PROCESS_ACCESS_TOKEN
950{
954
956{
957 union
958 {
959 struct
960 {
962 } Set;
963 struct
964 {
966 UCHAR DriveType[32];
967 } Query;
968 };
970
971typedef struct _KERNEL_USER_TIMES
972{
978
979typedef struct _POOLED_USAGE_AND_LIMITS
980{
991
993{
997
998typedef struct _PROCESS_SESSION_INFORMATION
999{
1002
1003typedef struct _PROCESS_HANDLE_TRACING_ENTRY
1004{
1005 HANDLE Handle;
1007 ULONG Type;
1010
1011typedef struct _PROCESS_HANDLE_TRACING_QUERY
1012{
1013 HANDLE Handle;
1017
1018#endif
1019
1021{
1026
1027typedef struct _PROCESS_LDT_SIZE
1028{
1031
1033{
1037
1038// Compatibility with windows, see CORE-16757, CORE-17106, CORE-17247
1040
1042{
1045
1046//
1047// Apphelp SHIM Cache
1048//
1050{
1056
1060
1061
1063{
1067
1068
1069//
1070// Thread Information Structures for NtQueryProcessInformation
1071//
1072typedef struct _THREAD_BASIC_INFORMATION
1073{
1081
1083{
1086
1087#ifndef NTOS_MODE_USER
1088
1089//
1090// Job Set Array
1091//
1092typedef struct _JOB_SET_ARRAY
1093{
1098
1099//
1100// Process Quota Type
1101//
1102typedef enum _PS_QUOTA_TYPE
1103{
1107#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1109#endif
1110#if (NTDDI_VERSION == NTDDI_LONGHORN)
1112#endif
1115
1116//
1117// EPROCESS Quota Structures
1118//
1120{
1126
1128{
1134
1135//
1136// Process Pagefault History
1137//
1139{
1146
1147//
1148// Process Impersonation Information
1149//
1151{
1157
1158//
1159// Process Termination Port
1160//
1161typedef struct _TERMINATION_PORT
1162{
1166
1167//
1168// Per-Process APC Rate Limiting
1169//
1170typedef struct _PSP_RATE_APC
1171{
1172 union
1173 {
1176 };
1180
1181//
1182// Executive Thread (ETHREAD)
1183//
1184typedef struct _ETHREAD
1185{
1188 union
1189 {
1193 };
1194 union
1195 {
1198 };
1200 union
1201 {
1205#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1207#endif
1208 };
1212#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1214#else
1215 union
1216 {
1217 KSEMAPHORE LpcReplySemaphore;
1219 };
1220 union
1221 {
1222 PVOID LpcReplyMessage;
1223 PVOID LpcWaitingOnPort;
1224 };
1225#endif
1230#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1232#else
1233 struct _EPROCESS *ThreadsProcess;
1234#endif
1236 union
1237 {
1240 };
1244#if (NTDDI_VERSION < NTDDI_LONGHORN)
1245 ULONG LpcReplyMessageId;
1246#endif
1248#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1250#else
1252#endif
1253 union
1254 {
1255 struct
1256 {
1258#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1260#else
1261 ULONG DeadThread:1;
1262#endif
1270#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1275#endif
1276 };
1278 };
1279 union
1280 {
1281 struct
1282 {
1287#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1289#endif
1290 };
1292 };
1293 union
1294 {
1295 struct
1296 {
1299#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1301#else
1302 ULONG AddressSpaceOwner:1;
1303#endif
1310#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1314#else
1315 ULONG ApcNeeded:1;
1316#endif
1317 };
1319 };
1320#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1322#else
1323 UCHAR ForwardClusterOnly;
1324#endif
1327#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1329 union
1330 {
1333 };
1337#endif
1338 // TODO: Missing Vista+ members
1339#if (NTDDI_VERSION >= NTDDI_WIN10_RS1) || defined(__REACTOS__)
1341 // TODO: Missing Win10+ members
1342#endif
1344
1345//
1346// Executive Process (EPROCESS)
1347//
1348typedef struct _EPROCESS
1349{
1364#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1365 union
1366 {
1370 };
1371#else
1372 PVOID ExceptionPort;
1373#endif
1377#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1380#else
1382 KSPIN_LOCK HyperSpaceLock;
1383#endif
1391 struct _EJOB *Job;
1402#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1405#else
1406 PVOID Spare0[3];
1407#endif
1408 union
1409 {
1412 };
1419#ifdef _M_AMD64
1420 struct _WOW64_PROCESS *Wow64Process;
1421#else
1423#endif
1425#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1427#else
1429#endif
1432 struct _PEB* Peb;
1445#ifdef _M_AMD64
1446 ULONG Spares[2];
1447#else
1449#endif
1451#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1452 union
1453 {
1454 struct
1455 {
1471 };
1473 };
1474#else
1475 ULONG JobStatus;
1476#endif
1477 union
1478 {
1479 struct
1480 {
1494#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1496#else
1497 ULONG SessionCreationUnderway:1;
1498#endif
1510#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1512#else
1513 ULONG CreateFailed:1;
1514#endif
1516#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1518#else
1519 ULONG Spare1:1;
1520 ULONG Spare2:1;
1521#endif
1522 };
1524 };
1526#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1528#else
1529 USHORT NextPageColor;
1530#endif
1531 union
1532 {
1533 struct
1534 {
1537 };
1539 };
1544
1545//
1546// Job Token Filter Data
1547//
1549{
1560
1561//
1562// Executive Job (EJOB)
1563//
1564typedef struct _EJOB
1565{
1607#if (NTDDI_VERSION >= NTDDI_WINXP) && (NTDDI_VERSION < NTDDI_WS03)
1609#elif (NTDDI_VERSION >= NTDDI_WS03) && (NTDDI_VERSION < NTDDI_LONGHORN)
1611#elif (NTDDI_VERSION >= NTDDI_LONGHORN)
1613#endif
1618
1619//
1620// Job Information Structures for NtQueryInformationJobObject
1621//
1622
1624{
1634
1636{
1647
1649{
1654
1656{
1659
1661{
1668
1670{
1673
1675{
1679
1681{
1685
1687{
1695
1696
1697//
1698// Win32K Callback Registration Data
1699//
1701{
1705
1707{
1714
1716{
1721
1723{
1730
1732{
1738
1740{
1747
1749{
1752
1754{
1766
1768{
1785#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1787#endif
1789
1790#endif // !NTOS_MODE_USER
1791
1792#ifdef __cplusplus
1793}; // extern "C"
1794#endif
1795
1796#endif // _PSTYPES_H
ULONG_PTR PFN_NUMBER
Type
Definition: Type.h:7
#define VOID
Definition: acefi.h:82
unsigned char BOOLEAN
Definition: actypes.h:127
LONG NTSTATUS
Definition: precomp.h:26
@ Create
Definition: registry.c:563
#define NTSYSAPI
Definition: ntoskrnl.h:12
_PROCESSINFOCLASS
Definition: cicbase.cpp:62
@ ProcessDebugPort
Definition: cicbase.cpp:64
@ ProcessBreakOnTermination
Definition: cicbase.cpp:67
@ ProcessBasicInformation
Definition: cicbase.cpp:63
@ ProcessWow64Information
Definition: cicbase.cpp:65
@ ProcessImageFileName
Definition: cicbase.cpp:66
enum _PROCESSINFOCLASS PROCESSINFOCLASS
Definition: loader.c:66
#define NTSTATUS
Definition: precomp.h:19
ULONG_PTR KAFFINITY
Definition: compat.h:85
_THREADINFOCLASS
Definition: compat.h:934
@ ThreadEnableAlignmentFaultFixup
Definition: compat.h:942
@ ThreadCSwitchPmu
Definition: compat.h:963
@ ThreadDescriptorTableEntry
Definition: compat.h:941
@ ThreadEventPair_Reusable
Definition: compat.h:943
@ ThreadIdealProcessorEx
Definition: compat.h:968
@ ThreadAmILastThread
Definition: compat.h:947
@ ThreadTimes
Definition: compat.h:936
@ ThreadPagePriority
Definition: compat.h:959
@ ThreadUmsInformation
Definition: compat.h:966
@ ThreadCSwitchMon
Definition: compat.h:962
@ ThreadPriority
Definition: compat.h:937
@ MaxThreadInfoClass
Definition: compat.h:969
@ ThreadIdealProcessor
Definition: compat.h:948
@ ThreadActualBasePriority
Definition: compat.h:960
@ ThreadGroupInformation
Definition: compat.h:965
@ ThreadSwitchLegacyState
Definition: compat.h:954
@ ThreadQuerySetWin32StartAddress
Definition: compat.h:944
@ ThreadIsTerminated
Definition: compat.h:955
@ ThreadLastSystemCall
Definition: compat.h:956
@ ThreadBreakOnTermination
Definition: compat.h:953
@ ThreadImpersonationToken
Definition: compat.h:940
@ ThreadSetTlsArrayAddress
Definition: compat.h:950
@ ThreadAffinityMask
Definition: compat.h:939
@ ThreadBasePriority
Definition: compat.h:938
@ ThreadTebInformation
Definition: compat.h:961
@ ThreadIoPriority
Definition: compat.h:957
@ ThreadCycleTime
Definition: compat.h:958
@ ThreadBasicInformation
Definition: compat.h:935
@ ThreadCounterProfiling
Definition: compat.h:967
@ ThreadPriorityBoost
Definition: compat.h:949
@ ThreadPerformanceCount
Definition: compat.h:946
@ ThreadIsIoPending
Definition: compat.h:951
@ ThreadZeroTlsCell
Definition: compat.h:945
@ ThreadWow64Context
Definition: compat.h:964
@ ThreadHideFromDebugger
Definition: compat.h:952
enum _THREADINFOCLASS THREADINFOCLASS
Definition: thread.c:99
LONG KPRIORITY
Definition: compat.h:803
ULONG KSPIN_LOCK
Definition: env_spec_w32.h:72
ULONG ERESOURCE
Definition: env_spec_w32.h:594
_In_opt_ PFILE_OBJECT _In_opt_ PETHREAD Thread
Definition: fltkernel.h:2653
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
Definition: fsrtlfuncs.h:223
struct _PAGEFAULT_HISTORY * PPAGEFAULT_HISTORY
struct _PROCESS_PRIORITY_CLASS PROCESS_PRIORITY_CLASS
struct _WIN32_JOBCALLOUT_PARAMETERS WIN32_JOBCALLOUT_PARAMETERS
struct _JOBOBJECT_BASIC_ACCOUNTING_INFORMATION * PJOBOBJECT_BASIC_ACCOUNTING_INFORMATION
struct _EPROCESS EPROCESS
struct _INITIAL_TEB INITIAL_TEB
const struct _TEB_ACTIVE_FRAME_CONTEXT * PCTEB_ACTIVE_FRAME_CONTEXT
Definition: pstypes.h:740
_PSPOWEREVENTTYPE
Definition: pstypes.h:479
@ PsW32DisplayState
Definition: pstypes.h:485
@ PsW32GdiOffRequest
Definition: pstypes.h:491
@ PsW32SetStateFailed
Definition: pstypes.h:487
@ PsW32PowerPolicyChanged
Definition: pstypes.h:482
@ PsW32GdiPrepareResumeUI
Definition: pstypes.h:490
@ PsW32CapabilitiesChanged
Definition: pstypes.h:486
@ PsW32GdiOff
Definition: pstypes.h:488
@ PsW32SystemPowerState
Definition: pstypes.h:483
@ PsW32MonitorOff
Definition: pstypes.h:492
@ PsW32GdiOn
Definition: pstypes.h:489
@ PsW32FullWake
Definition: pstypes.h:480
@ PsW32EventCode
Definition: pstypes.h:481
@ PsW32SystemTime
Definition: pstypes.h:484
struct _WIN32_CLOSEMETHOD_PARAMETERS * PWIN32_CLOSEMETHOD_PARAMETERS
struct _JOBOBJECT_END_OF_JOB_TIME_INFORMATION PJOBOBJECT_END_OF_JOB_TIME_INFORMATION
enum _APPCOMPAT_USERFLAGS_HIGHPART APPCOMPAT_USERFLAGS_HIGHPART
struct _TERMINATION_PORT * PTERMINATION_PORT
NTSTATUS(NTAPI * PKWIN32_SESSION_CALLOUT)(_In_ PVOID Parameter)
Definition: pstypes.h:631
struct _EPROCESS_QUOTA_ENTRY * PEPROCESS_QUOTA_ENTRY
struct _JOBOBJECT_BASIC_UI_RESTRICTIONS JOBOBJECT_BASIC_UI_RESTRICTIONS
struct _THREAD_BASIC_INFORMATION THREAD_BASIC_INFORMATION
struct _PS_JOB_TOKEN_FILTER PS_JOB_TOKEN_FILTER
struct _TERMINATION_PORT TERMINATION_PORT
_APPCOMPAT_USERFLAGS_HIGHPART
Definition: pstypes.h:878
@ NoGdiHwAcceleration
Definition: pstypes.h:881
@ NoDTToDITMouseBatch
Definition: pstypes.h:905
@ PreventMouseInPointer
Definition: pstypes.h:890
@ Disable8And16BitModes
Definition: pstypes.h:887
@ _8And16BitNoIncRefCount
Definition: pstypes.h:894
@ GdiDPIScalingForceDisable
Definition: pstypes.h:909
@ NoTimerCoalescing
Definition: pstypes.h:882
@ _8And16BitGDIRedraw
Definition: pstypes.h:892
@ DPIUnaware
Definition: pstypes.h:902
@ DisableFocusTracking
Definition: pstypes.h:908
@ ReorderWaveForCommunications
Definition: pstypes.h:880
@ GdiDPIScaling
Definition: pstypes.h:906
@ DisableWindowArrangement
Definition: pstypes.h:879
@ _8And16BitTimedPriSync
Definition: pstypes.h:897
@ EarlyMouseDelegation
Definition: pstypes.h:896
@ _8And16BitCopyOnFlip
Definition: pstypes.h:893
@ CFDNoRedirectInitialFolder
Definition: pstypes.h:904
@ _8And16BitAggregateBlts
Definition: pstypes.h:891
@ PerProcessSystemDPIForceOff
Definition: pstypes.h:901
@ UseWARPRendering
Definition: pstypes.h:884
@ UseIntegratedGraphics
Definition: pstypes.h:898
@ UseLegacyMouseWheelRouting
Definition: pstypes.h:899
@ NoVirtWndRects
Definition: pstypes.h:903
@ QueueMouseMoveOnReleaseCapture
Definition: pstypes.h:907
@ PromotePointer
Definition: pstypes.h:889
@ InstallShieldInstaller
Definition: pstypes.h:886
@ MirrorDriverDrawCursor
Definition: pstypes.h:885
@ PerProcessSystemDPIForceOn
Definition: pstypes.h:900
@ Disable8And16BitD3D
Definition: pstypes.h:888
@ _8And16BitDXMaxWinMode
Definition: pstypes.h:895
@ PrinterIsolationAware
Definition: pstypes.h:883
struct _PSP_RATE_APC * PPSP_RATE_APC
struct _PROCESS_PRIORITY_CLASS * PPROCESS_PRIORITY_CLASS
VOID(NTAPI * PLEGO_NOTIFY_ROUTINE)(_In_ PKTHREAD Thread)
Definition: pstypes.h:650
struct _PS_IMPERSONATION_INFORMATION * PPS_IMPERSONATION_INFORMATION
struct _PAGEFAULT_HISTORY PAGEFAULT_HISTORY
const struct _TEB_ACTIVE_FRAME * PCTEB_ACTIVE_FRAME
Definition: pstypes.h:755
NTSTATUS(NTAPI * PKWIN32_PROCESS_CALLOUT)(_In_ struct _EPROCESS *Process, _In_ BOOLEAN Create)
Definition: pstypes.h:557
struct _EPROCESS_QUOTA_BLOCK * PEPROCESS_QUOTA_BLOCK
struct _CLIENT_ID32 CLIENT_ID32
const struct _TEB_ACTIVE_FRAME_CONTEXT_EX * PCTEB_ACTIVE_FRAME_CONTEXT_EX
Definition: pstypes.h:747
struct _INITIAL_PEB * PINITIAL_PEB
struct _TEB_ACTIVE_FRAME_EX TEB_ACTIVE_FRAME_EX
enum _PSW32THREADCALLOUTTYPE PSW32THREADCALLOUTTYPE
_APPCOMPAT_FLAGS_HIGHPART
Definition: pstypes.h:826
@ RendererFull3D
Definition: pstypes.h:830
@ PosixDeleteDisabled
Definition: pstypes.h:827
struct _WIN32_POWERSTATE_PARAMETERS WIN32_POWERSTATE_PARAMETERS
struct _JOBOBJECT_BASIC_PROCESS_ID_LIST JOBOBJECT_BASIC_PROCESS_ID_LIST
_PSW32JOBCALLOUTTYPE
Definition: pstypes.h:522
@ PsW32JobCalloutTerminate
Definition: pstypes.h:525
@ PsW32JobCalloutAddProcess
Definition: pstypes.h:524
@ PsW32JobCalloutSetInformation
Definition: pstypes.h:523
struct _WIN32_PARSEMETHOD_PARAMETERS * PWIN32_PARSEMETHOD_PARAMETERS
enum _PSW32JOBCALLOUTTYPE PSW32JOBCALLOUTTYPE
struct _WIN32_DELETEMETHOD_PARAMETERS WIN32_DELETEMETHOD_PARAMETERS
enum _APPCOMPAT_FLAGS_HIGHPART APPCOMPAT_FLAGS_HIGHPART
enum _JOBOBJECTINFOCLASS JOBOBJECTINFOCLASS
struct _PROCESS_LDT_INFORMATION PROCESS_LDT_INFORMATION
struct _WIN32_POWEREVENT_PARAMETERS WIN32_POWEREVENT_PARAMETERS
struct _TEB_ACTIVE_FRAME_CONTEXT * PTEB_ACTIVE_FRAME_CONTEXT
struct _TEB_ACTIVE_FRAME * PTEB_ACTIVE_FRAME
NTSTATUS(NTAPI * PKWIN32_PARSEMETHOD_CALLOUT)(_In_ struct _WIN32_PARSEMETHOD_PARAMETERS *Parameters)
Definition: pstypes.h:625
_APPCOMPAT_FLAGS
Definition: pstypes.h:791
@ UserDisableForwarderPatch
Definition: pstypes.h:806
@ EnableLegacyNTFSFlagsForDocfileOpens
Definition: pstypes.h:804
@ FTMFromCurrentAPI
Definition: pstypes.h:794
@ GetShortPathNameNT4
Definition: pstypes.h:792
@ DisableParallelLoader
Definition: pstypes.h:815
@ GetDiskFreeSpace2GB
Definition: pstypes.h:793
@ DisableCicero
Definition: pstypes.h:797
@ AllowMaximizedWindowGamma
Definition: pstypes.h:811
@ DoNotAddToCache
Definition: pstypes.h:818
@ DisallowCOMBindingNotifications
Definition: pstypes.h:795
@ DisableMaybeNULLSizeisConsistencycheck
Definition: pstypes.h:801
@ DisableAdvancedRPCrangeCheck
Definition: pstypes.h:802
@ AddRestrictedSidInCoInitializeSecurity
Definition: pstypes.h:808
@ DisguisePlaceholders
Definition: pstypes.h:816
@ CloudFilesFullHydrationOnOpen
Definition: pstypes.h:813
@ EnableLegacyExceptionHandlinginOLE
Definition: pstypes.h:799
@ CloudFilesHydrationInForeground
Definition: pstypes.h:817
@ Ole32ValidatePointers
Definition: pstypes.h:796
@ CloudFilesFullHydration
Definition: pstypes.h:814
@ DisableNDRIIDConsistencyCheck
Definition: pstypes.h:805
@ DisableNewWMPAINTDispatchInOLE
Definition: pstypes.h:807
@ Ole32EnableAsyncDocFile
Definition: pstypes.h:798
@ AllocDebugInfoForCritSections
Definition: pstypes.h:809
@ DisableAdvanceRPCClientHardening
Definition: pstypes.h:800
@ CloudFilesHydrationDisallowed
Definition: pstypes.h:812
@ EnableLegacyLoadTypeLibForRelativePaths
Definition: pstypes.h:810
@ EnableLegacyExceptionHandlingInRPC
Definition: pstypes.h:803
struct _EJOB EJOB
enum _APPHELPCACHESERVICECLASS APPHELPCACHESERVICECLASS
struct _WIN32_CALLOUTS_FPNS WIN32_CALLOUTS_FPNS
struct _WIN32_OKAYTOCLOSEMETHOD_PARAMETERS * PWIN32_OKAYTOCLOSEMETHOD_PARAMETERS
struct _JOBOBJECT_BASIC_LIMIT_INFORMATION * PJOBOBJECT_BASIC_LIMIT_INFORMATION
struct _WIN32_DELETEMETHOD_PARAMETERS * PWIN32_DELETEMETHOD_PARAMETERS
struct _TEB_ACTIVE_FRAME TEB_ACTIVE_FRAME
struct _CLIENT_ID64 CLIENT_ID64
struct _EJOB * PEJOB
NTSTATUS(NTAPI * PKWIN32_JOB_CALLOUT)(_In_ struct _WIN32_JOBCALLOUT_PARAMETERS *Parameters)
Definition: pstypes.h:589
enum _PSPROCESSPRIORITYMODE PSPROCESSPRIORITYMODE
struct _CLIENT_ID32 * PCLIENT_ID32
struct _JOBOBJECT_SECURITY_LIMIT_INFORMATION JOBOBJECT_SECURITY_LIMIT_INFORMATION
struct _PROCESS_LDT_SIZE PROCESS_LDT_SIZE
struct _WIN32_JOBCALLOUT_PARAMETERS * PWIN32_JOBCALLOUT_PARAMETERS
struct _APPHELP_CACHE_SERVICE_LOOKUP APPHELP_CACHE_SERVICE_LOOKUP
NTSTATUS(NTAPI * PPOST_PROCESS_INIT_ROUTINE)(VOID)
Definition: pstypes.h:657
enum _APPCOMPAT_USERFLAGS APPCOMPAT_USERFLAGS
struct _JOB_SET_ARRAY * PJOB_SET_ARRAY
struct _THREAD_NAME_INFORMATION THREAD_NAME_INFORMATION
struct _WIN32_OPENMETHOD_PARAMETERS * PWIN32_OPENMETHOD_PARAMETERS
_APPHELPCACHESERVICECLASS
Definition: pstypes.h:1050
@ ApphelpDBGReadRegistry
Definition: pstypes.h:1057
@ ApphelpCacheServiceLookup
Definition: pstypes.h:1051
@ ApphelpCacheServiceRemove
Definition: pstypes.h:1052
@ ApphelpCacheServiceUpdate
Definition: pstypes.h:1053
@ ApphelpCacheServiceDump
Definition: pstypes.h:1055
@ ApphelpDBGWriteRegistry
Definition: pstypes.h:1058
@ ApphelpCacheServiceFlush
Definition: pstypes.h:1054
struct _JOBOBJECT_BASIC_PROCESS_ID_LIST * PJOBOBJECT_BASIC_PROCESS_ID_LIST
struct _JOBOBJECT_END_OF_JOB_TIME_INFORMATION JOBOBJECT_END_OF_JOB_TIME_INFORMATION
struct _TEB_ACTIVE_FRAME_EX * PTEB_ACTIVE_FRAME_EX
struct _APPHELP_CACHE_SERVICE_LOOKUP * PAPPHELP_CACHE_SERVICE_LOOKUP
struct _PSP_RATE_APC PSP_RATE_APC
struct _PROCESS_LDT_SIZE * PPROCESS_LDT_SIZE
NTSTATUS(NTAPI * PKWIN32_OPENMETHOD_CALLOUT)(_In_ struct _WIN32_OPENMETHOD_PARAMETERS *Parameters)
Definition: pstypes.h:601
struct JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION * PJOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION
_PSPROCESSPRIORITYMODE
Definition: pstypes.h:454
@ PsProcessPrioritySpinning
Definition: pstypes.h:457
@ PsProcessPriorityForeground
Definition: pstypes.h:455
@ PsProcessPriorityBackground
Definition: pstypes.h:456
enum _PS_QUOTA_TYPE PS_QUOTA_TYPE
struct _THREAD_NAME_INFORMATION * PTHREAD_NAME_INFORMATION
struct _EPROCESS_QUOTA_ENTRY EPROCESS_QUOTA_ENTRY
struct _INITIAL_TEB * PINITIAL_TEB
struct _WIN32_POWERSTATE_PARAMETERS * PWIN32_POWERSTATE_PARAMETERS
NTSTATUS(NTAPI * PKWIN32_GLOBALATOMTABLE_CALLOUT)(VOID)
Definition: pstypes.h:571
struct _WIN32_OPENMETHOD_PARAMETERS WIN32_OPENMETHOD_PARAMETERS
_JOBOBJECTINFOCLASS
Definition: pstypes.h:461
@ JobObjectAssociateCompletionPortInformation
Definition: pstypes.h:468
@ JobObjectBasicLimitInformation
Definition: pstypes.h:463
@ JobObjectBasicAndIoAccountingInformation
Definition: pstypes.h:469
@ JobObjectBasicAccountingInformation
Definition: pstypes.h:462
@ JobObjectSecurityLimitInformation
Definition: pstypes.h:466
@ JobObjectExtendedLimitInformation
Definition: pstypes.h:470
@ JobObjectEndOfJobTimeInformation
Definition: pstypes.h:467
@ JobObjectBasicUIRestrictions
Definition: pstypes.h:465
@ JobObjectBasicProcessIdList
Definition: pstypes.h:464
@ MaxJobObjectInfoClass
Definition: pstypes.h:472
@ JobObjectJobSetInformation
Definition: pstypes.h:471
struct _THREAD_BASIC_INFORMATION * PTHREAD_BASIC_INFORMATION
enum _APPCOMPAT_FLAGS APPCOMPAT_FLAGS
struct _JOBOBJECT_EXTENDED_LIMIT_INFORMATION JOBOBJECT_EXTENDED_LIMIT_INFORMATION
struct _ETHREAD ETHREAD
struct _CLIENT_ID64 * PCLIENT_ID64
struct _JOBOBJECT_BASIC_ACCOUNTING_INFORMATION JOBOBJECT_BASIC_ACCOUNTING_INFORMATION
struct _PROCESS_LDT_INFORMATION * PPROCESS_LDT_INFORMATION
POBJECT_TYPE NTSYSAPI PsJobType
Definition: job.c:20
enum _PSPOWEREVENTTYPE PSPOWEREVENTTYPE
_APPCOMPAT_USERFLAGS
Definition: pstypes.h:839
@ OpenGLEmfAware
Definition: pstypes.h:865
@ No50StylebitsInSetWindowLong
Definition: pstypes.h:842
@ HighDpiAware
Definition: pstypes.h:864
@ HardwareAudioMixer
Definition: pstypes.h:869
@ NoGhost
Definition: pstypes.h:859
@ NoPaddedBorder
Definition: pstypes.h:867
@ StrictLLHook
Definition: pstypes.h:861
@ UseDefaultCharset
Definition: pstypes.h:854
@ NoDdeSync
Definition: pstypes.h:858
@ NoMouseHideInEdit
Definition: pstypes.h:848
@ EnableTransparantBltMirror
Definition: pstypes.h:866
@ GiveupForeground
Definition: pstypes.h:846
@ FontSubstitution
Definition: pstypes.h:850
@ NoCharDeadKey
Definition: pstypes.h:855
@ DisableAnimation
Definition: pstypes.h:840
@ NoDdeAsyncReg
Definition: pstypes.h:860
@ No50StylebitsInCreateWindow
Definition: pstypes.h:851
@ DisableDrawPatternRect
Definition: pstypes.h:843
@ NoTryExceptForWindowProc
Definition: pstypes.h:856
@ NoCustomPaperSizes
Definition: pstypes.h:852
@ DisableSWCursorOnMoveSize
Definition: pstypes.h:870
@ NoShadow
Definition: pstypes.h:862
@ DisableKeyboardCues
Definition: pstypes.h:841
@ NoGdiBatching
Definition: pstypes.h:849
@ AlwaysActiveMenus
Definition: pstypes.h:847
@ NoDDETerminateDuringDestroy
Definition: pstypes.h:845
@ AllTheDdeHacks
Definition: pstypes.h:853
@ ForceLegacyResizeCM
Definition: pstypes.h:868
@ NoTimerCallbackProtection
Definition: pstypes.h:863
@ NoInitInsertReplaceFlags
Definition: pstypes.h:857
@ MSShellDialog
Definition: pstypes.h:844
struct _WIN32_OKAYTOCLOSEMETHOD_PARAMETERS WIN32_OKAYTOCLOSEMETHOD_PARAMETERS
struct _TEB_ACTIVE_FRAME_CONTEXT TEB_ACTIVE_FRAME_CONTEXT
struct _WIN32_CLOSEMETHOD_PARAMETERS WIN32_CLOSEMETHOD_PARAMETERS
_PSW32THREADCALLOUTTYPE
Definition: pstypes.h:532
@ PsW32ThreadCalloutInitialize
Definition: pstypes.h:533
@ PsW32ThreadCalloutExit
Definition: pstypes.h:534
NTSTATUS(NTAPI * PKWIN32_WIN32DATACOLLECTION_CALLOUT)(_In_ struct _EPROCESS *Process, _In_ PVOID Callback, _In_ PVOID Context)
Definition: pstypes.h:638
struct _JOBOBJECT_BASIC_LIMIT_INFORMATION JOBOBJECT_BASIC_LIMIT_INFORMATION
NTSTATUS(NTAPI * PKWIN32_POWERSTATE_CALLOUT)(_In_ struct _WIN32_POWERSTATE_PARAMETERS *Parameters)
Definition: pstypes.h:583
struct _JOBOBJECT_SECURITY_LIMIT_INFORMATION * PJOBOBJECT_SECURITY_LIMIT_INFORMATION
NTSTATUS(NTAPI * PKWIN32_POWEREVENT_CALLOUT)(_In_ struct _WIN32_POWEREVENT_PARAMETERS *Parameters)
Definition: pstypes.h:577
const struct _TEB_ACTIVE_FRAME_EX * PCTEB_ACTIVE_FRAME_EX
Definition: pstypes.h:762
struct _PS_JOB_TOKEN_FILTER * PPS_JOB_TOKEN_FILTER
VOID(NTAPI * PPEBLOCKROUTINE)(PVOID PebLock)
Definition: pstypes.h:677
struct _JOBOBJECT_EXTENDED_LIMIT_INFORMATION * PJOBOBJECT_EXTENDED_LIMIT_INFORMATION
struct _PEB_FREE_BLOCK PEB_FREE_BLOCK
struct _PEB_FREE_BLOCK * PPEB_FREE_BLOCK
struct _INITIAL_PEB INITIAL_PEB
NTSTATUS(NTAPI * PKWIN32_OKTOCLOSEMETHOD_CALLOUT)(_In_ struct _WIN32_OKAYTOCLOSEMETHOD_PARAMETERS *Parameters)
Definition: pstypes.h:607
struct _TEB_ACTIVE_FRAME_CONTEXT_EX * PTEB_ACTIVE_FRAME_CONTEXT_EX
struct _JOBOBJECT_ASSOCIATE_COMPLETION_PORT * PJOBOBJECT_ASSOCIATE_COMPLETION_PORT
_PS_QUOTA_TYPE
Definition: pstypes.h:1103
@ PsQuotaTypes
Definition: pstypes.h:1113
@ PsNonPagedPool
Definition: pstypes.h:1104
@ PsCpuRate
Definition: pstypes.h:1111
@ PsWorkingSet
Definition: pstypes.h:1108
@ PsPageFile
Definition: pstypes.h:1106
@ PsPagedPool
Definition: pstypes.h:1105
NTSTATUS(NTAPI * PKWIN32_DELETEMETHOD_CALLOUT)(_In_ struct _WIN32_DELETEMETHOD_PARAMETERS *Parameters)
Definition: pstypes.h:619
struct _EPROCESS_QUOTA_BLOCK EPROCESS_QUOTA_BLOCK
struct _PROCESS_FOREGROUND_BACKGROUND * PPROCESS_FOREGROUND_BACKGROUND
struct _WIN32_PARSEMETHOD_PARAMETERS WIN32_PARSEMETHOD_PARAMETERS
struct _PS_IMPERSONATION_INFORMATION PS_IMPERSONATION_INFORMATION
struct _JOB_SET_ARRAY JOB_SET_ARRAY
struct _WIN32_POWEREVENT_PARAMETERS * PWIN32_POWEREVENT_PARAMETERS
enum _POWERSTATETASK POWERSTATETASK
_POWERSTATETASK
Definition: pstypes.h:499
@ PowerState_NotifyWL
Definition: pstypes.h:509
@ PowerState_QueryServices
Definition: pstypes.h:503
@ PowerState_QueryAppsFailed
Definition: pstypes.h:504
@ PowerState_ResumeServices
Definition: pstypes.h:511
@ PowerState_BlockInput
Definition: pstypes.h:514
@ PowerState_BlockSessionSwitch
Definition: pstypes.h:500
@ PowerState_Init
Definition: pstypes.h:501
@ PowerState_ShowUI
Definition: pstypes.h:508
@ PowerState_UnblockInput
Definition: pstypes.h:515
@ PowerState_QueryApps
Definition: pstypes.h:502
@ PowerState_ResumeApps
Definition: pstypes.h:510
@ PowerState_SuspendServices
Definition: pstypes.h:507
@ PowerState_SuspendApps
Definition: pstypes.h:506
@ PowerState_UnBlockSessionSwitch
Definition: pstypes.h:512
@ PowerState_QueryServicesFailed
Definition: pstypes.h:505
@ PowerState_End
Definition: pstypes.h:513
NTSTATUS(NTAPI * PGDI_BATCHFLUSH_ROUTINE)(VOID)
Definition: pstypes.h:595
struct _TEB_ACTIVE_FRAME_CONTEXT_EX TEB_ACTIVE_FRAME_CONTEXT_EX
struct _PROCESS_FOREGROUND_BACKGROUND PROCESS_FOREGROUND_BACKGROUND
NTSTATUS(NTAPI * PKWIN32_THREAD_CALLOUT)(_In_ struct _ETHREAD *Thread, _In_ PSW32THREADCALLOUTTYPE Type)
Definition: pstypes.h:564
struct _JOBOBJECT_BASIC_UI_RESTRICTIONS * PJOBOBJECT_BASIC_UI_RESTRICTIONS
struct _WIN32_CALLOUTS_FPNS * PWIN32_CALLOUTS_FPNS
NTSTATUS(NTAPI * PKWIN32_CLOSEMETHOD_CALLOUT)(_In_ struct _WIN32_CLOSEMETHOD_PARAMETERS *Parameters)
Definition: pstypes.h:613
struct _JOBOBJECT_ASSOCIATE_COMPLETION_PORT JOBOBJECT_ASSOCIATE_COMPLETION_PORT
struct _PROCESS_HANDLE_TRACING_ENTRY * PPROCESS_HANDLE_TRACING_ENTRY
struct _PROCESS_DEVICEMAP_INFORMATION PROCESS_DEVICEMAP_INFORMATION
struct _PROCESS_DEVICEMAP_INFORMATION * PPROCESS_DEVICEMAP_INFORMATION
struct _PROCESS_WS_WATCH_INFORMATION PROCESS_WS_WATCH_INFORMATION
struct _PROCESS_SESSION_INFORMATION PROCESS_SESSION_INFORMATION
#define PROCESS_HANDLE_TRACING_MAX_STACKS
Definition: pstypes.h:230
struct _PROCESS_WS_WATCH_INFORMATION * PPROCESS_WS_WATCH_INFORMATION
struct _POOLED_USAGE_AND_LIMITS * PPOOLED_USAGE_AND_LIMITS
struct _PROCESS_SESSION_INFORMATION * PPROCESS_SESSION_INFORMATION
struct _PROCESS_HANDLE_TRACING_QUERY * PPROCESS_HANDLE_TRACING_QUERY
struct _PROCESS_HANDLE_TRACING_QUERY PROCESS_HANDLE_TRACING_QUERY
struct _PROCESS_HANDLE_TRACING_ENTRY PROCESS_HANDLE_TRACING_ENTRY
struct _POOLED_USAGE_AND_LIMITS POOLED_USAGE_AND_LIMITS
#define C_ASSERT(e)
Definition: intsafe.h:73
enum _SECURITY_IMPERSONATION_LEVEL SECURITY_IMPERSONATION_LEVEL
unsigned __int64 ULONG64
Definition: imports.h:198
enum _OB_OPEN_REASON OB_OPEN_REASON
#define _Out_
Definition: no_sal2.h:160
#define _In_
Definition: no_sal2.h:158
ULONG ACCESS_MASK
Definition: nt_native.h:40
struct _PROCESS_ACCESS_TOKEN PROCESS_ACCESS_TOKEN
struct _PROCESS_ACCESS_TOKEN * PPROCESS_ACCESS_TOKEN
POWER_ACTION
Definition: ntpoapi.h:122
enum _SYSTEM_POWER_STATE SYSTEM_POWER_STATE
unsigned short USHORT
Definition: pedump.c:61
char CHAR
Definition: pedump.c:57
struct _PROCESS_BASIC_INFORMATION * PPROCESS_BASIC_INFORMATION
struct _PROCESS_BASIC_INFORMATION PROCESS_BASIC_INFORMATION
_In_ PVOID Context
Definition: storport.h:2269
JOBOBJECT_BASIC_ACCOUNTING_INFORMATION BasicInfo
Definition: pstypes.h:1682
UNICODE_STRING ImageName
Definition: pstypes.h:1064
ULONG UniqueProcess
Definition: pstypes.h:766
ULONG UniqueThread
Definition: pstypes.h:767
ULONG64 UniqueThread
Definition: pstypes.h:773
ULONG64 UniqueProcess
Definition: pstypes.h:772
LARGE_INTEGER ThisPeriodTotalUserTime
Definition: pstypes.h:1572
ULONGLONG OtherTransferCount
Definition: pstypes.h:1600
LARGE_INTEGER TotalKernelTime
Definition: pstypes.h:1571
ULONG CurrentJobMemoryUsed
Definition: pstypes.h:1606
ULONG LimitFlags
Definition: pstypes.h:1580
ULONG TotalProcesses
Definition: pstypes.h:1575
ULONG ActiveProcessLimit
Definition: pstypes.h:1583
LIST_ENTRY ProcessListHead
Definition: pstypes.h:1568
UCHAR PriorityClass
Definition: pstypes.h:1585
ULONG UIRestrictionsClass
Definition: pstypes.h:1586
ULONGLONG OtherOperationCount
Definition: pstypes.h:1597
LARGE_INTEGER PerJobUserTimeLimit
Definition: pstypes.h:1579
ULONG Affinity
Definition: pstypes.h:1584
PVOID CompletionPort
Definition: pstypes.h:1591
ULONG ActiveProcesses
Definition: pstypes.h:1576
KEVENT Event
Definition: pstypes.h:1566
ULONG PeakProcessMemoryUsed
Definition: pstypes.h:1604
ULONG ProcessMemoryLimit
Definition: pstypes.h:1602
ULONGLONG ReadTransferCount
Definition: pstypes.h:1598
ULONG SchedulingClass
Definition: pstypes.h:1594
ULONG TotalPageFaultCount
Definition: pstypes.h:1574
ULONG MinimumWorkingSetSize
Definition: pstypes.h:1581
PVOID Token
Definition: pstypes.h:1588
PVOID CompletionKey
Definition: pstypes.h:1592
LIST_ENTRY JobLinks
Definition: pstypes.h:1567
ULONG PeakJobMemoryUsed
Definition: pstypes.h:1605
ULONG TotalTerminatedProcesses
Definition: pstypes.h:1577
ULONG JobFlags
Definition: pstypes.h:1616
ULONG MaximumWorkingSetSize
Definition: pstypes.h:1582
ULONG SecurityLimitFlags
Definition: pstypes.h:1587
IO_COUNTERS IoInfo
Definition: pstypes.h:1601
LARGE_INTEGER TotalUserTime
Definition: pstypes.h:1570
ULONGLONG ReadOperationCount
Definition: pstypes.h:1595
LARGE_INTEGER ThisPeriodTotalKernelTime
Definition: pstypes.h:1573
ULONGLONG WriteOperationCount
Definition: pstypes.h:1596
EX_PUSH_LOCK MemoryLimitsLock
Definition: pstypes.h:1612
PPS_JOB_TOKEN_FILTER Filter
Definition: pstypes.h:1589
ULONG JobMemoryLimit
Definition: pstypes.h:1603
ULONGLONG WriteTransferCount
Definition: pstypes.h:1599
ERESOURCE JobLock
Definition: pstypes.h:1569
LIST_ENTRY JobSetLinks
Definition: pstypes.h:1614
ULONG MemberLevel
Definition: pstypes.h:1615
ULONG EndOfJobTimeAction
Definition: pstypes.h:1590
LARGE_INTEGER PerProcessUserTimeLimit
Definition: pstypes.h:1578
ULONG SessionId
Definition: pstypes.h:1593
EPROCESS_QUOTA_ENTRY QuotaEntry[PsQuotaTypes]
Definition: pstypes.h:1129
LIST_ENTRY QuotaList
Definition: pstypes.h:1130
Definition: pstypes.h:1120
SIZE_T Return
Definition: pstypes.h:1124
SIZE_T Usage
Definition: pstypes.h:1121
SIZE_T Limit
Definition: pstypes.h:1122
SIZE_T Peak
Definition: pstypes.h:1123
PVOID ExceptionPortData
Definition: pstypes.h:1367
PVOID LockedPagesList
Definition: pstypes.h:1416
ULONG ExitProcessReported
Definition: pstypes.h:1459
LIST_ENTRY ActiveProcessLinks
Definition: pstypes.h:1356
EX_FAST_REF PrefetchTrace
Definition: pstypes.h:1433
USHORT Spare7
Definition: pstypes.h:1527
SIZE_T CommitCharge
Definition: pstypes.h:1359
PVOID SectionObject
Definition: pstypes.h:1392
PVOID VadFreeHint
Definition: pstypes.h:1399
MM_AVL_TABLE VadRoot
Definition: pstypes.h:1541
PVOID SecurityPort
Definition: pstypes.h:1418
ULONG RefTraceEnabled
Definition: pstypes.h:1465
UCHAR SubSystemMinorVersion
Definition: pstypes.h:1535
struct _PEB * Peb
Definition: pstypes.h:1432
LIST_ENTRY ThreadListHead
Definition: pstypes.h:1417
ULONG ProcessDeleteSelf
Definition: pstypes.h:1469
ULONG DeprioritizeViews
Definition: pstypes.h:1495
PVOID VdmObjects
Definition: pstypes.h:1400
UCHAR SubSystemMajorVersion
Definition: pstypes.h:1536
ULONG ExceptionPortValue
Definition: pstypes.h:1368
ULONG SetTimerResolution
Definition: pstypes.h:1492
PMM_AVL_TABLE PhysicalVadRoot
Definition: pstypes.h:1386
ULONG ProcessVerifierTarget
Definition: pstypes.h:1470
SIZE_T CommitChargeLimit
Definition: pstypes.h:1440
ULONG HandleTableRundown
Definition: pstypes.h:1463
NTSTATUS ExitStatus
Definition: pstypes.h:1525
PFN_NUMBER NumberOfPrivatePages
Definition: pstypes.h:1388
PVOID Session
Definition: pstypes.h:1413
PVOID DebugPort
Definition: pstypes.h:1363
KPROCESS Pcb
Definition: pstypes.h:1350
ULONG Flags2
Definition: pstypes.h:1472
EX_FAST_REF Token
Definition: pstypes.h:1375
ULONG HasAddressSpace
Definition: pstypes.h:1502
ULONG PdeUpdateNeeded
Definition: pstypes.h:1507
MMSUPPORT Vm
Definition: pstypes.h:1444
SIZE_T CommitChargePeak
Definition: pstypes.h:1441
ULONG ImageNotifyDone
Definition: pstypes.h:1506
ULONG VdmAllowed
Definition: pstypes.h:1508
struct _EJOB * Job
Definition: pstypes.h:1391
ULONG ProcessExiting
Definition: pstypes.h:1483
LARGE_INTEGER WriteTransferCount
Definition: pstypes.h:1438
ULONG DefaultPagePriority
Definition: pstypes.h:1468
ULONGLONG Filler
Definition: pstypes.h:1411
EX_PUSH_LOCK ProcessLock
Definition: pstypes.h:1351
HANDLE InheritedFromUniqueProcessId
Definition: pstypes.h:1397
UCHAR ExceptionPortState
Definition: pstypes.h:1369
ULONG WriteWatch
Definition: pstypes.h:1499
ULONG OverrideAddressSpace
Definition: pstypes.h:1501
ULONG NoDebugInherit
Definition: pstypes.h:1482
ULONG NumaAware
Definition: pstypes.h:1466
ULONG Flags
Definition: pstypes.h:1523
ULONG ProtectedProcess
Definition: pstypes.h:1467
PVOID CloneRoot
Definition: pstypes.h:1387
HARDWARE_PTE PageDirectoryPte
Definition: pstypes.h:1410
ULONG ProcessInserted
Definition: pstypes.h:1511
PEPROCESS_QUOTA_BLOCK QuotaBlock
Definition: pstypes.h:1394
ULONG Wow64VaSpace4Gb
Definition: pstypes.h:1490
LIST_ENTRY MmProcessLinks
Definition: pstypes.h:1448
PVOID LdtInformation
Definition: pstypes.h:1398
ULONG AccountingFolded
Definition: pstypes.h:1457
PVOID * Win32Process
Definition: pstypes.h:1390
PVOID FreeTebHint
Definition: pstypes.h:1404
ULONG SmapAllowed
Definition: pstypes.h:1509
EX_PUSH_LOCK AddressCreationLock
Definition: pstypes.h:1378
ULONG CreateReported
Definition: pstypes.h:1481
PETHREAD ForkInProgress
Definition: pstypes.h:1384
PFN_NUMBER NumberOfLockedPages
Definition: pstypes.h:1389
LIST_ENTRY JobLinks
Definition: pstypes.h:1415
PVOID SectionBaseAddress
Definition: pstypes.h:1393
ULONG_PTR HardwareTrigger
Definition: pstypes.h:1385
PHANDLE_TABLE ObjectTable
Definition: pstypes.h:1374
ULONG Wow64SplitPages
Definition: pstypes.h:1485
ULONG InjectInpageErrors
Definition: pstypes.h:1504
ULONG SparePsFlags1
Definition: pstypes.h:1517
ULONG ReportPhysicalPageChanges
Definition: pstypes.h:1462
LARGE_INTEGER CreateTime
Definition: pstypes.h:1352
PETHREAD RotateInProgress
Definition: pstypes.h:1379
ULONG OutswapEnabled
Definition: pstypes.h:1487
HANDLE UniqueProcessId
Definition: pstypes.h:1355
SIZE_T PeakVirtualSize
Definition: pstypes.h:1360
ULONG ProcessDelete
Definition: pstypes.h:1484
NTSTATUS LastThreadExitStatus
Definition: pstypes.h:1431
ULONG ForkFailed
Definition: pstypes.h:1489
SE_AUDIT_PROCESS_CREATION_INFO SeAuditProcessCreationInfo
Definition: pstypes.h:1443
ULONG Outswapped
Definition: pstypes.h:1488
ULONG LaunchPrefetched
Definition: pstypes.h:1503
ULONG LastReportMemory
Definition: pstypes.h:1461
LARGE_INTEGER ReadTransferCount
Definition: pstypes.h:1437
ULONG ImagePathHash
Definition: pstypes.h:1426
CHAR ImageFileName[16]
Definition: pstypes.h:1414
UCHAR PriorityClass
Definition: pstypes.h:1540
PVOID Win32WindowStation
Definition: pstypes.h:1396
ULONG AddressSpaceInitialized
Definition: pstypes.h:1491
ULONG JobNotReallyActive
Definition: pstypes.h:1456
USHORT SubSystemVersion
Definition: pstypes.h:1538
ULONG NeedsHandleRundown
Definition: pstypes.h:1464
LARGE_INTEGER ReadOperationCount
Definition: pstypes.h:1434
PVOID PaeTop
Definition: pstypes.h:1422
LARGE_INTEGER ExitTime
Definition: pstypes.h:1353
PPAGEFAULT_HISTORY WorkingSetWatch
Definition: pstypes.h:1395
SIZE_T VirtualSize
Definition: pstypes.h:1361
ULONG VmDeleted
Definition: pstypes.h:1486
LIST_ENTRY SessionProcessLinks
Definition: pstypes.h:1362
LARGE_INTEGER OtherTransferCount
Definition: pstypes.h:1439
ULONG BreakOnTermination
Definition: pstypes.h:1493
ULONG ProcessInSession
Definition: pstypes.h:1500
ULONG NewProcessReported
Definition: pstypes.h:1458
ULONG VmTopDown
Definition: pstypes.h:1505
ULONG DefaultHardErrorProcessing
Definition: pstypes.h:1430
SIZE_T QuotaUsage[PsQuotaTypes]
Definition: pstypes.h:1357
LARGE_INTEGER WriteOperationCount
Definition: pstypes.h:1435
PFN_NUMBER WorkingSetPage
Definition: pstypes.h:1376
ULONG ActiveThreads
Definition: pstypes.h:1424
PVOID DeviceMap
Definition: pstypes.h:1401
ULONG DefaultIoPriority
Definition: pstypes.h:1515
ULONG Cookie
Definition: pstypes.h:1542
ULONG ModifiedPageCount
Definition: pstypes.h:1450
SIZE_T QuotaPeak[PsQuotaTypes]
Definition: pstypes.h:1358
PVOID EtwDataSource
Definition: pstypes.h:1403
PVOID AweInfo
Definition: pstypes.h:1442
EX_RUNDOWN_REF RundownProtect
Definition: pstypes.h:1354
ULONG ReportCommitChanges
Definition: pstypes.h:1460
LARGE_INTEGER OtherOperationCount
Definition: pstypes.h:1436
ULONG SkipTerminationMsg
Definition: pstypes.h:1269
PKSTART_ROUTINE StartAddress
Definition: pstypes.h:1238
ULONG ThreadIoPriority
Definition: pstypes.h:1272
LARGE_INTEGER ExitTime
Definition: pstypes.h:1190
PPS_IMPERSONATION_INFORMATION ImpersonationInfo
Definition: pstypes.h:1226
NTSTATUS ExitStatus
Definition: pstypes.h:1196
KTHREAD Tcb
Definition: pstypes.h:1186
ULONG RateApcState
Definition: pstypes.h:1288
UCHAR CacheManagerActive
Definition: pstypes.h:1321
ULONG SpareUlong0
Definition: pstypes.h:1249
PVOID AlpcMessage
Definition: pstypes.h:1331
ULONG AlpcReceiveAttributeSet
Definition: pstypes.h:1332
ULONG OwnsSessionWorkingSetExclusive
Definition: pstypes.h:1308
EX_RUNDOWN_REF RundownProtect
Definition: pstypes.h:1242
ULONG_PTR TopLevelIrp
Definition: pstypes.h:1228
ULONG ExWorkerCanWaitUser
Definition: pstypes.h:1284
ULONG MemoryMaker
Definition: pstypes.h:1285
ULONG SameThreadApcFlags
Definition: pstypes.h:1318
ULONG ReadClusterSize
Definition: pstypes.h:1247
ULONG CacheManagerCount
Definition: pstypes.h:1336
ULONG AlpcMessageId
Definition: pstypes.h:1328
PVOID Win32StartAddress
Definition: pstypes.h:1235
ULONG OwnsSessionWorkingSetShared
Definition: pstypes.h:1309
CLIENT_ID Cid
Definition: pstypes.h:1211
UCHAR DisablePageFaultClustering
Definition: pstypes.h:1325
LIST_ENTRY IrpList
Definition: pstypes.h:1227
struct _TERMINATION_PORT * TerminationPort
Definition: pstypes.h:1202
ULONG CreateMsgSent
Definition: pstypes.h:1271
ULONG ThreadPagePriority
Definition: pstypes.h:1273
PUNICODE_STRING ThreadName
Definition: pstypes.h:1340
ULONG ThreadInserted
Definition: pstypes.h:1259
PVOID KeyedWaitValue
Definition: pstypes.h:1204
ULONG ActiveExWorker
Definition: pstypes.h:1283
UCHAR ActiveFaultCount
Definition: pstypes.h:1326
ULONG LpcReceivedMsgIdValid
Definition: pstypes.h:1297
EX_PUSH_LOCK ThreadLock
Definition: pstypes.h:1243
LIST_ENTRY ActiveTimerListHead
Definition: pstypes.h:1210
ULONG PriorityRegionActive
Definition: pstypes.h:1313
ULONG Spare1
Definition: pstypes.h:1312
KSPIN_LOCK ActiveTimerListLock
Definition: pstypes.h:1209
ULONG OwnsSystemWorkingSetShared
Definition: pstypes.h:1307
PDEVICE_OBJECT DeviceToVerify
Definition: pstypes.h:1229
LIST_ENTRY AlpcWaitListEntry
Definition: pstypes.h:1334
ULONG LpcReceivedMessageId
Definition: pstypes.h:1239
LARGE_INTEGER CreateTime
Definition: pstypes.h:1187
ULONG OwnsProcessWorkingSetShared
Definition: pstypes.h:1305
ULONG ActiveImpersonationInfo
Definition: pstypes.h:1264
ULONG Spare
Definition: pstypes.h:1300
ULONG SameThreadPassiveFlags
Definition: pstypes.h:1291
ULONG PendingRatecontrol
Definition: pstypes.h:1274
ULONG LpcExitThreadCalled
Definition: pstypes.h:1298
ULONG SkipCreationMsg
Definition: pstypes.h:1268
ULONG OwnsProcessWorkingSetExclusive
Definition: pstypes.h:1304
ULONG BreakOnTermination
Definition: pstypes.h:1267
ULONG CrossThreadFlags
Definition: pstypes.h:1277
PPSP_RATE_APC RateControlApc
Definition: pstypes.h:1231
PVOID OfsChain
Definition: pstypes.h:1197
KSEMAPHORE KeyedWaitSemaphore
Definition: pstypes.h:1213
LIST_ENTRY KeyedWaitChain
Definition: pstypes.h:1192
ULONG SystemThread
Definition: pstypes.h:1265
ULONG KeyedEventInUse
Definition: pstypes.h:1286
ULONG HardErrorsAreDisabled
Definition: pstypes.h:1266
ULONG SuppressSymbolLoad
Definition: pstypes.h:1311
KSEMAPHORE AlpcWaitSemaphore
Definition: pstypes.h:1335
struct _ETHREAD * ReaperLink
Definition: pstypes.h:1203
PVOID Win32StartParameter
Definition: pstypes.h:1206
LIST_ENTRY ThreadListEntry
Definition: pstypes.h:1241
LIST_ENTRY LpcReplyChain
Definition: pstypes.h:1191
ULONG HideFromDebugger
Definition: pstypes.h:1263
ULONG OwnsSystemWorkingSetExclusive
Definition: pstypes.h:1306
ULONG Terminated
Definition: pstypes.h:1257
LIST_ENTRY PostBlockList
Definition: pstypes.h:1199
BOOLEAN ImageUsesLargePages
Definition: pstypes.h:704
BOOLEAN IsLegacyProcess
Definition: pstypes.h:707
BOOLEAN IsProtectedProcess
Definition: pstypes.h:706
BOOLEAN InheritedAddressSpace
Definition: pstypes.h:695
BOOLEAN ReadImageFileExecOptions
Definition: pstypes.h:696
BOOLEAN BeingDebugged
Definition: pstypes.h:697
BOOLEAN SpareBits
Definition: pstypes.h:708
BOOLEAN BitField
Definition: pstypes.h:700
HANDLE Mutant
Definition: pstypes.h:717
PVOID StackBase
Definition: pstypes.h:727
PVOID PreviousStackBase
Definition: pstypes.h:725
PVOID AllocatedStackBase
Definition: pstypes.h:729
PVOID StackLimit
Definition: pstypes.h:728
PVOID PreviousStackLimit
Definition: pstypes.h:726
LARGE_INTEGER PerProcessUserTimeLimit
Definition: pstypes.h:1637
JOBOBJECT_BASIC_LIMIT_INFORMATION BasicLimitInformation
Definition: pstypes.h:1688
PTOKEN_PRIVILEGES PrivilegesToDelete
Definition: pstypes.h:1665
ULONG MemberLevel
Definition: pstypes.h:1095
HANDLE JobHandle
Definition: pstypes.h:1094
Definition: ketypes.h:615
LARGE_INTEGER UserTime
Definition: winternl.h:2377
LARGE_INTEGER CreateTime
Definition: winternl.h:2374
LARGE_INTEGER KernelTime
Definition: winternl.h:2376
LARGE_INTEGER ExitTime
Definition: winternl.h:2375
Definition: compat.h:777
Definition: typedefs.h:120
KSPIN_LOCK SpinLock
Definition: pstypes.h:1142
PROCESS_WS_WATCH_INFORMATION WatchInfo[1]
Definition: pstypes.h:1144
struct _PEB_FREE_BLOCK * Next
Definition: ntddk_ex.h:230
SIZE_T PeakNonPagedPoolUsage
Definition: pstypes.h:138
ULONG_PTR InheritedFromUniqueProcessId
Definition: pstypes.h:362
struct _PROCESS_DEVICEMAP_INFORMATION::@4658::@4660 Query
struct _PROCESS_DEVICEMAP_INFORMATION::@4658::@4659 Set
Definition: pstypes.h:418
HANDLE Handle
Definition: pstypes.h:419
ULONG Type
Definition: pstypes.h:421
CLIENT_ID ClientId
Definition: pstypes.h:420
PVOID Stacks[PROCESS_HANDLE_TRACING_MAX_STACKS]
Definition: pstypes.h:422
PROCESS_HANDLE_TRACING_ENTRY HandleTrace[1]
Definition: pstypes.h:428
LDT_ENTRY LdtEntries[ANYSIZE_ARRAY]
Definition: pstypes.h:1024
ULONGLONG TargetGEneration
Definition: pstypes.h:1177
SINGLE_LIST_ENTRY NextApc
Definition: pstypes.h:1174
ULONGLONG ExcessCycles
Definition: pstypes.h:1175
KAPC RateApc
Definition: pstypes.h:1178
SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
Definition: pstypes.h:1155
ULONG CapturedSidsLength
Definition: pstypes.h:1552
PSID_AND_ATTRIBUTES CapturedSids
Definition: pstypes.h:1551
ULONG CapturedGroupsLength
Definition: pstypes.h:1555
ULONG CapturedGroupCount
Definition: pstypes.h:1553
PSID_AND_ATTRIBUTES CapturedGroups
Definition: pstypes.h:1554
ULONG CapturedPrivilegeCount
Definition: pstypes.h:1556
PLUID_AND_ATTRIBUTES CapturedPrivileges
Definition: pstypes.h:1557
ULONG CapturedPrivilegesLength
Definition: pstypes.h:1558
Definition: ntbasedef.h:640
TEB_ACTIVE_FRAME_CONTEXT BasicContext
Definition: pstypes.h:744
TEB_ACTIVE_FRAME BasicFrame
Definition: pstypes.h:759
PVOID ExtensionIdentifier
Definition: pstypes.h:760
PCTEB_ACTIVE_FRAME_CONTEXT Context
Definition: pstypes.h:753
struct _TEB_ACTIVE_FRAME * Previous
Definition: pstypes.h:752
struct _TERMINATION_PORT * Next
Definition: pstypes.h:1163
KPRIORITY BasePriority
Definition: compat.h:932
KAFFINITY AffinityMask
Definition: compat.h:930
UNICODE_STRING ThreadName
Definition: pstypes.h:1084
PKWIN32_POWEREVENT_CALLOUT PowerEventCallout
Definition: pstypes.h:1772
PKWIN32_SESSION_CALLOUT WindowStationOkToCloseProcedure
Definition: pstypes.h:1780
PKWIN32_PROCESS_CALLOUT ProcessCallout
Definition: pstypes.h:1769
PKWIN32_SESSION_CALLOUT WindowStationDeleteProcedure
Definition: pstypes.h:1782
PKWIN32_SESSION_CALLOUT WindowStationParseProcedure
Definition: pstypes.h:1783
PKWIN32_SESSION_CALLOUT DesktopOkToCloseProcedure
Definition: pstypes.h:1777
PKWIN32_WIN32DATACOLLECTION_CALLOUT Win32DataCollectionProcedure
Definition: pstypes.h:1786
PKWIN32_POWERSTATE_CALLOUT PowerStateCallout
Definition: pstypes.h:1773
PKWIN32_SESSION_CALLOUT DesktopOpenProcedure
Definition: pstypes.h:1776
PKWIN32_SESSION_CALLOUT DesktopDeleteProcedure
Definition: pstypes.h:1779
PKWIN32_SESSION_CALLOUT DesktopCloseProcedure
Definition: pstypes.h:1778
PKWIN32_GLOBALATOMTABLE_CALLOUT GlobalAtomTableCallout
Definition: pstypes.h:1771
PKWIN32_SESSION_CALLOUT WindowStationOpenProcedure
Definition: pstypes.h:1784
PKWIN32_THREAD_CALLOUT ThreadCallout
Definition: pstypes.h:1770
PGDI_BATCHFLUSH_ROUTINE BatchFlushRoutine
Definition: pstypes.h:1775
PKWIN32_SESSION_CALLOUT WindowStationCloseProcedure
Definition: pstypes.h:1781
PKWIN32_JOB_CALLOUT JobCallout
Definition: pstypes.h:1774
PSW32JOBCALLOUTTYPE CalloutType
Definition: pstypes.h:1718
OB_OPEN_REASON OpenReason
Definition: pstypes.h:1724
PUNICODE_STRING RemainingName
Definition: pstypes.h:1761
_Out_ PUNICODE_STRING CompleteName
Definition: pstypes.h:1760
PSECURITY_QUALITY_OF_SERVICE SecurityQos
Definition: pstypes.h:1763
KPROCESSOR_MODE AccessMode
Definition: pstypes.h:1758
PSPOWEREVENTTYPE EventNumber
Definition: pstypes.h:1702
SYSTEM_POWER_STATE MinSystemState
Definition: pstypes.h:1710
POWERSTATETASK PowerStateTask
Definition: pstypes.h:1712
uint32_t * PULONG
Definition: typedefs.h:59
unsigned char UCHAR
Definition: typedefs.h:53
#define ANYSIZE_ARRAY
Definition: typedefs.h:46
#define NTAPI
Definition: typedefs.h:36
ULONG_PTR SIZE_T
Definition: typedefs.h:80
char * LPSTR
Definition: typedefs.h:51
uint64_t ULONGLONG
Definition: typedefs.h:67
const char * PCSTR
Definition: typedefs.h:52
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint32_t ULONG
Definition: typedefs.h:59
_In_ WDFINTERRUPT _In_ PFN_WDF_INTERRUPT_SYNCHRONIZE Callback
Definition: wdfinterrupt.h:458
_Must_inspect_result_ _In_ WDFQUEUE _In_opt_ WDFREQUEST _In_opt_ WDFFILEOBJECT _Inout_opt_ PWDF_REQUEST_PARAMETERS Parameters
Definition: wdfio.h:869
_Must_inspect_result_ _In_ WDFIORESLIST _In_ PIO_RESOURCE_DESCRIPTOR Descriptor
Definition: wdfresource.h:342
struct _KERNEL_USER_TIMES KERNEL_USER_TIMES
@ ThreadSuspendCount
Definition: winternl.h:2316
@ ThreadActualGroupAffinity
Definition: winternl.h:2322
@ ThreadStrongerBadHandleChecks
Definition: winternl.h:2334
@ ThreadCpuAccountingInformation
Definition: winternl.h:2315
@ ThreadWorkOnBehalfTicket
Definition: winternl.h:2325
@ ThreadEffectiveIoPriority
Definition: winternl.h:2335
@ ThreadCreateStateChange
Definition: winternl.h:2332
@ ThreadSelectedCpuSets
Definition: winternl.h:2320
@ ThreadApplyStateChange
Definition: winternl.h:2333
@ ThreadSystemThreadInformation
Definition: winternl.h:2321
@ ThreadManageWritesToExecutableMemory
Definition: winternl.h:2329
@ ThreadDynamicCodePolicyInfo
Definition: winternl.h:2323
@ ThreadExplicitCaseSensitivity
Definition: winternl.h:2324
@ ThreadPowerThrottlingState
Definition: winternl.h:2330
@ ThreadHeterogeneousCpuPolicy
Definition: winternl.h:2317
@ ThreadEffectivePagePriority
Definition: winternl.h:2336
@ ThreadNameInformation
Definition: winternl.h:2319
@ ThreadDbgkWerReportActive
Definition: winternl.h:2327
@ ThreadSubsystemInformation
Definition: winternl.h:2326
@ ThreadAttachContainer
Definition: winternl.h:2328
@ ThreadContainerId
Definition: winternl.h:2318
@ ThreadWorkloadClass
Definition: winternl.h:2331
struct _KERNEL_USER_TIMES * PKERNEL_USER_TIMES
@ ProcessPagePriority
Definition: winternl.h:1921
@ ProcessLUIDDeviceMapsEnabled
Definition: winternl.h:1910
@ ProcessMemoryAllocationMode
Definition: winternl.h:1928
@ ProcessTlsInformation
Definition: winternl.h:1917
@ ProcessWx86Information
Definition: winternl.h:1901
@ ProcessDebugFlags
Definition: winternl.h:1913
@ MaxProcessInfoClass
Definition: winternl.h:1994
@ ProcessSessionInformation
Definition: winternl.h:1906
@ ProcessWorkingSetWatchEx
Definition: winternl.h:1924
@ ProcessAffinityMask
Definition: winternl.h:1903
@ ProcessInstrumentationCallback
Definition: winternl.h:1922
@ ProcessImageFileMapping
Definition: winternl.h:1926
@ ProcessIoPortHandlers
Definition: winternl.h:1895
@ ProcessRaisePriority
Definition: winternl.h:1888
@ ProcessVmCounters
Definition: winternl.h:1885
@ ProcessPriorityClass
Definition: winternl.h:1900
@ ProcessPriorityBoost
Definition: winternl.h:1904
@ ProcessImageInformation
Definition: winternl.h:1919
@ ProcessExecuteFlags
Definition: winternl.h:1916
@ ProcessCookie
Definition: winternl.h:1918
@ ProcessPooledUsageAndLimits
Definition: winternl.h:1896
@ ProcessLdtSize
Definition: winternl.h:1893
@ ProcessIoCounters
Definition: winternl.h:1884
@ ProcessImageFileNameWin32
Definition: winternl.h:1925
@ ProcessDefaultHardErrorMode
Definition: winternl.h:1894
@ ProcessAffinityUpdateMode
Definition: winternl.h:1927
@ ProcessEnableAlignmentFaultFixup
Definition: winternl.h:1899
@ ProcessDeviceMap
Definition: winternl.h:1905
@ ProcessBasePriority
Definition: winternl.h:1887
@ ProcessQuotaLimits
Definition: winternl.h:1883
@ ProcessCycleTime
Definition: winternl.h:1920
@ ProcessAccessToken
Definition: winternl.h:1891
@ ProcessIoPriority
Definition: winternl.h:1915
@ ProcessHandleTracing
Definition: winternl.h:1914
@ ProcessThreadStackAllocation
Definition: winternl.h:1923
@ ProcessForegroundInformation
Definition: winternl.h:1907
@ ProcessTimes
Definition: winternl.h:1886
@ ProcessDebugObjectHandle
Definition: winternl.h:1912
@ ProcessExceptionPort
Definition: winternl.h:1890
@ ProcessWorkingSetWatch
Definition: winternl.h:1897
@ ProcessLdtInformation
Definition: winternl.h:1892
@ ProcessHandleCount
Definition: winternl.h:1902
@ ProcessUserModeIOPL
Definition: winternl.h:1898
FAST_MUTEX
Definition: extypes.h:17
KSTART_ROUTINE * PKSTART_ROUTINE
Definition: ketypes.h:567
CCHAR KPROCESSOR_MODE
Definition: ketypes.h:7
_Inout_opt_ PVOID Parameter
Definition: rtltypes.h:336
_In_ PSECURITY_SUBJECT_CONTEXT _In_ BOOLEAN _In_ ACCESS_MASK _In_ ACCESS_MASK _Outptr_opt_ PPRIVILEGE_SET _In_ PGENERIC_MAPPING _In_ KPROCESSOR_MODE _Out_ PACCESS_MASK GrantedAccess
Definition: sefuncs.h:20