ReactOS 0.4.16-dev-1890-gbb7a613
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// KUSER_SHARED_DATA location in User Mode
50//
51#define USER_SHARED_DATA (0x7FFE0000)
52
53//
54// Global Flags
55//
56#define FLG_STOP_ON_EXCEPTION 0x00000001
57#define FLG_SHOW_LDR_SNAPS 0x00000002
58#define FLG_DEBUG_INITIAL_COMMAND 0x00000004
59#define FLG_STOP_ON_HUNG_GUI 0x00000008
60#define FLG_HEAP_ENABLE_TAIL_CHECK 0x00000010
61#define FLG_HEAP_ENABLE_FREE_CHECK 0x00000020
62#define FLG_HEAP_VALIDATE_PARAMETERS 0x00000040
63#define FLG_HEAP_VALIDATE_ALL 0x00000080
64#define FLG_APPLICATION_VERIFIER 0x00000100
65#define FLG_POOL_ENABLE_TAGGING 0x00000400
66#define FLG_HEAP_ENABLE_TAGGING 0x00000800
67#define FLG_USER_STACK_TRACE_DB 0x00001000
68#define FLG_KERNEL_STACK_TRACE_DB 0x00002000
69#define FLG_MAINTAIN_OBJECT_TYPELIST 0x00004000
70#define FLG_HEAP_ENABLE_TAG_BY_DLL 0x00008000
71#define FLG_DISABLE_STACK_EXTENSION 0x00010000
72#define FLG_ENABLE_CSRDEBUG 0x00020000
73#define FLG_ENABLE_KDEBUG_SYMBOL_LOAD 0x00040000
74#define FLG_DISABLE_PAGE_KERNEL_STACKS 0x00080000
75#if (NTDDI_VERSION < NTDDI_WINXP)
76#define FLG_HEAP_ENABLE_CALL_TRACING 0x00100000
77#else
78#define FLG_ENABLE_SYSTEM_CRIT_BREAKS 0x00100000
79#endif
80#define FLG_HEAP_DISABLE_COALESCING 0x00200000
81#define FLG_ENABLE_CLOSE_EXCEPTIONS 0x00400000
82#define FLG_ENABLE_EXCEPTION_LOGGING 0x00800000
83#define FLG_ENABLE_HANDLE_TYPE_TAGGING 0x01000000
84#define FLG_HEAP_PAGE_ALLOCS 0x02000000
85#define FLG_DEBUG_INITIAL_COMMAND_EX 0x04000000
86#define FLG_DISABLE_DEBUG_PROMPTS 0x08000000 // ReactOS-specific
87#define FLG_VALID_BITS 0x0FFFFFFF
88
89//
90// Flags for NtCreateProcessEx
91//
92#define PROCESS_CREATE_FLAGS_BREAKAWAY 0x00000001
93#define PROCESS_CREATE_FLAGS_NO_DEBUG_INHERIT 0x00000002
94#define PROCESS_CREATE_FLAGS_INHERIT_HANDLES 0x00000004
95#define PROCESS_CREATE_FLAGS_OVERRIDE_ADDRESS_SPACE 0x00000008
96#define PROCESS_CREATE_FLAGS_LARGE_PAGES 0x00000010
97#define PROCESS_CREATE_FLAGS_ALL_LARGE_PAGE_FLAGS PROCESS_CREATE_FLAGS_LARGE_PAGES
98#define PROCESS_CREATE_FLAGS_LEGAL_MASK (PROCESS_CREATE_FLAGS_BREAKAWAY | \
99 PROCESS_CREATE_FLAGS_NO_DEBUG_INHERIT | \
100 PROCESS_CREATE_FLAGS_INHERIT_HANDLES | \
101 PROCESS_CREATE_FLAGS_OVERRIDE_ADDRESS_SPACE | \
102 PROCESS_CREATE_FLAGS_ALL_LARGE_PAGE_FLAGS)
103
104//
105// Process priority classes
106//
107#define PROCESS_PRIORITY_CLASS_INVALID 0
108#define PROCESS_PRIORITY_CLASS_IDLE 1
109#define PROCESS_PRIORITY_CLASS_NORMAL 2
110#define PROCESS_PRIORITY_CLASS_HIGH 3
111#define PROCESS_PRIORITY_CLASS_REALTIME 4
112#define PROCESS_PRIORITY_CLASS_BELOW_NORMAL 5
113#define PROCESS_PRIORITY_CLASS_ABOVE_NORMAL 6
114
115//
116// Process base priorities
117//
118#define PROCESS_PRIORITY_IDLE 3
119#define PROCESS_PRIORITY_NORMAL 8
120#define PROCESS_PRIORITY_NORMAL_FOREGROUND 9
121
122//
123// Process memory priorities
124//
125#define MEMORY_PRIORITY_BACKGROUND 0
126#define MEMORY_PRIORITY_UNKNOWN 1
127#define MEMORY_PRIORITY_FOREGROUND 2
128
129//
130// Process Priority Separation Values (OR)
131//
132#define PSP_DEFAULT_QUANTUMS 0x00
133#define PSP_VARIABLE_QUANTUMS 0x04
134#define PSP_FIXED_QUANTUMS 0x08
135#define PSP_LONG_QUANTUMS 0x10
136#define PSP_SHORT_QUANTUMS 0x20
137
138//
139// Process Handle Tracing Values
140//
141#define PROCESS_HANDLE_TRACE_TYPE_OPEN 1
142#define PROCESS_HANDLE_TRACE_TYPE_CLOSE 2
143#define PROCESS_HANDLE_TRACE_TYPE_BADREF 3
144#define PROCESS_HANDLE_TRACING_MAX_STACKS 16
145
146#ifndef NTOS_MODE_USER
147//
148// Thread Access Types
149//
150#define THREAD_QUERY_INFORMATION 0x0040
151#define THREAD_SET_THREAD_TOKEN 0x0080
152#define THREAD_IMPERSONATE 0x0100
153#define THREAD_DIRECT_IMPERSONATION 0x0200
154
155//
156// Process Access Types
157//
158#define PROCESS_TERMINATE 0x0001
159#define PROCESS_CREATE_THREAD 0x0002
160#define PROCESS_SET_SESSIONID 0x0004
161#define PROCESS_VM_OPERATION 0x0008
162#define PROCESS_VM_READ 0x0010
163#define PROCESS_VM_WRITE 0x0020
164#define PROCESS_CREATE_PROCESS 0x0080
165#define PROCESS_SET_QUOTA 0x0100
166#define PROCESS_SET_INFORMATION 0x0200
167#define PROCESS_QUERY_INFORMATION 0x0400
168#define PROCESS_SUSPEND_RESUME 0x0800
169#define PROCESS_QUERY_LIMITED_INFORMATION 0x1000
170#if (NTDDI_VERSION >= NTDDI_LONGHORN)
171#define PROCESS_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \
172 SYNCHRONIZE | \
173 0xFFFF)
174#else
175#define PROCESS_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \
176 SYNCHRONIZE | \
177 0xFFF)
178#endif
179
180//
181// Thread Base Priorities
182//
183#define THREAD_BASE_PRIORITY_LOWRT 15
184#define THREAD_BASE_PRIORITY_MAX 2
185#define THREAD_BASE_PRIORITY_MIN -2
186#define THREAD_BASE_PRIORITY_IDLE -15
187
188//
189// TLS Slots
190//
191#define TLS_MINIMUM_AVAILABLE 64
192
193//
194// TEB Active Frame Flags
195//
196#define TEB_ACTIVE_FRAME_CONTEXT_FLAG_EXTENDED 0x1
197
198//
199// Job Access Types
200//
201#define JOB_OBJECT_ASSIGN_PROCESS 0x1
202#define JOB_OBJECT_SET_ATTRIBUTES 0x2
203#define JOB_OBJECT_QUERY 0x4
204#define JOB_OBJECT_TERMINATE 0x8
205#define JOB_OBJECT_SET_SECURITY_ATTRIBUTES 0x10
206#define JOB_OBJECT_ALL_ACCESS (STANDARD_RIGHTS_REQUIRED | \
207 SYNCHRONIZE | \
208 31)
209
210//
211// Job Limit Flags
212//
213#define JOB_OBJECT_LIMIT_WORKINGSET 0x1
214#define JOB_OBJECT_LIMIT_PROCESS_TIME 0x2
215#define JOB_OBJECT_LIMIT_JOB_TIME 0x4
216#define JOB_OBJECT_LIMIT_ACTIVE_PROCESS 0x8
217#define JOB_OBJECT_LIMIT_AFFINITY 0x10
218#define JOB_OBJECT_LIMIT_PRIORITY_CLASS 0x20
219#define JOB_OBJECT_LIMIT_PRESERVE_JOB_TIME 0x40
220#define JOB_OBJECT_LIMIT_SCHEDULING_CLASS 0x80
221#define JOB_OBJECT_LIMIT_PROCESS_MEMORY 0x100
222#define JOB_OBJECT_LIMIT_JOB_MEMORY 0x200
223#define JOB_OBJECT_LIMIT_DIE_ON_UNHANDLED_EXCEPTION 0x400
224#define JOB_OBJECT_LIMIT_BREAKAWAY_OK 0x800
225#define JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK 0x1000
226#define JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE 0x2000
227
228//
229// Job Security Limit Flags
230//
231#define JOB_OBJECT_SECURITY_NO_ADMIN 0x0001
232#define JOB_OBJECT_SECURITY_RESTRICTED_TOKEN 0x0002
233#define JOB_OBJECT_SECURITY_ONLY_TOKEN 0x0004
234#define JOB_OBJECT_SECURITY_FILTER_TOKENS 0x0008
235
236//
237// Cross Thread Flags
238//
239#define CT_TERMINATED_BIT 0x1
240#define CT_DEAD_THREAD_BIT 0x2
241#define CT_HIDE_FROM_DEBUGGER_BIT 0x4
242#define CT_ACTIVE_IMPERSONATION_INFO_BIT 0x8
243#define CT_SYSTEM_THREAD_BIT 0x10
244#define CT_HARD_ERRORS_ARE_DISABLED_BIT 0x20
245#define CT_BREAK_ON_TERMINATION_BIT 0x40
246#define CT_SKIP_CREATION_MSG_BIT 0x80
247#define CT_SKIP_TERMINATION_MSG_BIT 0x100
248
249//
250// Same Thread Passive Flags
251//
252#define STP_ACTIVE_EX_WORKER_BIT 0x1
253#define STP_EX_WORKER_CAN_WAIT_USER_BIT 0x2
254#define STP_MEMORY_MAKER_BIT 0x4
255#define STP_KEYED_EVENT_IN_USE_BIT 0x8
256
257//
258// Same Thread APC Flags
259//
260#define STA_LPC_RECEIVED_MSG_ID_VALID_BIT 0x1
261#define STA_LPC_EXIT_THREAD_CALLED_BIT 0x2
262#define STA_ADDRESS_SPACE_OWNER_BIT 0x4
263#define STA_OWNS_WORKING_SET_BITS 0x1F8
264
265//
266// Kernel Process flags (maybe in ketypes.h?)
267//
268#define KPSF_AUTO_ALIGNMENT_BIT 0
269#define KPSF_DISABLE_BOOST_BIT 1
270
271//
272// Process Flags
273//
274#define PSF_CREATE_REPORTED_BIT 0x1
275#define PSF_NO_DEBUG_INHERIT_BIT 0x2
276#define PSF_PROCESS_EXITING_BIT 0x4
277#define PSF_PROCESS_DELETE_BIT 0x8
278#define PSF_WOW64_SPLIT_PAGES_BIT 0x10
279#define PSF_VM_DELETED_BIT 0x20
280#define PSF_OUTSWAP_ENABLED_BIT 0x40
281#define PSF_OUTSWAPPED_BIT 0x80
282#define PSF_FORK_FAILED_BIT 0x100
283#define PSF_WOW64_VA_SPACE_4GB_BIT 0x200
284#define PSF_ADDRESS_SPACE_INITIALIZED_BIT 0x400
285#define PSF_SET_TIMER_RESOLUTION_BIT 0x1000
286#define PSF_BREAK_ON_TERMINATION_BIT 0x2000
287#define PSF_SESSION_CREATION_UNDERWAY_BIT 0x4000
288#define PSF_WRITE_WATCH_BIT 0x8000
289#define PSF_PROCESS_IN_SESSION_BIT 0x10000
290#define PSF_OVERRIDE_ADDRESS_SPACE_BIT 0x20000
291#define PSF_HAS_ADDRESS_SPACE_BIT 0x40000
292#define PSF_LAUNCH_PREFETCHED_BIT 0x80000
293#define PSF_INJECT_INPAGE_ERRORS_BIT 0x100000
294#define PSF_VM_TOP_DOWN_BIT 0x200000
295#define PSF_IMAGE_NOTIFY_DONE_BIT 0x400000
296#define PSF_PDE_UPDATE_NEEDED_BIT 0x800000
297#define PSF_VDM_ALLOWED_BIT 0x1000000
298#define PSF_SWAP_ALLOWED_BIT 0x2000000
299#define PSF_CREATE_FAILED_BIT 0x4000000
300#define PSF_DEFAULT_IO_PRIORITY_BIT 0x8000000
301
302//
303// Vista Process Flags
304//
305#define PSF2_PROTECTED_BIT 0x800
306#endif
307
308//
309// TLS/FLS Defines
310//
311#define TLS_EXPANSION_SLOTS 1024
312
313#ifdef NTOS_MODE_USER
314//
315// Thread Native Base Priorities
316//
317#define LOW_PRIORITY 0
318#define LOW_REALTIME_PRIORITY 16
319#define HIGH_PRIORITY 31
320#define MAXIMUM_PRIORITY 32
321
322//
323// Current Process/Thread built-in 'special' handles
324//
325#define NtCurrentProcess() ((HANDLE)(LONG_PTR)-1)
326#define ZwCurrentProcess() NtCurrentProcess()
327#define NtCurrentThread() ((HANDLE)(LONG_PTR)-2)
328#define ZwCurrentThread() NtCurrentThread()
329
330//
331// Process/Thread/Job Information Classes for NtQueryInformationProcess/Thread/Job
332//
333typedef enum _PROCESSINFOCLASS
334{
384
385typedef enum _THREADINFOCLASS
386{
417
418#else
419
421{
426
428{
441
442//
443// Power Event Events for Win32K Power Event Callback
444//
446{
461
462//
463// Power State Tasks for Win32K Power State Callback
464//
465typedef enum _POWERSTATETASK
466{
484
485//
486// Win32K Job Callback Types
487//
489{
494
495//
496// Win32K Thread Callback Types
497//
499{
503
504//
505// Declare empty structure definitions so that they may be referenced by
506// routines before they are defined
507//
508struct _W32THREAD;
509struct _W32PROCESS;
510//struct _ETHREAD;
519
520//
521// Win32K Process and Thread Callbacks
522//
523typedef
526 _In_ struct _EPROCESS *Process,
528);
529
530typedef
533 _In_ struct _ETHREAD *Thread,
535);
536
537typedef
540 VOID
541);
542
543typedef
547);
548
549typedef
553);
554
555typedef
559);
560
561typedef
564 VOID
565);
566
567typedef
571);
572
573typedef
577);
578
579typedef
583);
584
585typedef
589);
590
591typedef
595);
596
597typedef
601);
602
603#if (NTDDI_VERSION >= NTDDI_LONGHORN)
604typedef
607 _In_ struct _EPROCESS *Process,
610);
611#endif
612
613//
614// Lego Callback
615//
616typedef
620);
621
622#endif
623
624typedef NTSTATUS
626 VOID
627);
628
629//
630// Descriptor Table Entry Definition
631//
632#if (_M_IX86)
633#define _DESCRIPTOR_TABLE_ENTRY_DEFINED
634typedef struct _DESCRIPTOR_TABLE_ENTRY
635{
636 ULONG Selector;
638} DESCRIPTOR_TABLE_ENTRY, *PDESCRIPTOR_TABLE_ENTRY;
639#endif
640
641//
642// PEB Lock Routine
643//
644typedef VOID
646 PVOID PebLock
647);
648
649//
650// PEB Free Block Descriptor
651//
652typedef struct _PEB_FREE_BLOCK
653{
654 struct _PEB_FREE_BLOCK* Next;
655 ULONG Size;
657
658//
659// Initial PEB
660//
661typedef struct _INITIAL_PEB
662{
666 union
667 {
669#if (NTDDI_VERSION >= NTDDI_WS03)
670 struct
671 {
673#if (NTDDI_VERSION >= NTDDI_LONGHORN)
677#else
679#endif
680 };
681#else
682 BOOLEAN SpareBool;
683#endif
684 };
687
688//
689// Initial TEB
690//
691typedef struct _INITIAL_TEB
692{
699
700//
701// TEB Active Frame Structures
702//
704{
709
711{
716
717typedef struct _TEB_ACTIVE_FRAME
718{
724
726{
731
732typedef struct _CLIENT_ID32
733{
737
738typedef struct _CLIENT_ID64
739{
743
744#if (NTDDI_VERSION < NTDDI_WS03)
745typedef struct _Wx86ThreadState
746{
747 PULONG CallBx86Eip;
748 PVOID DeallocationCpu;
749 BOOLEAN UseKnownWx86Dll;
750 CHAR OleStubInvoked;
751} Wx86ThreadState, *PWx86ThreadState;
752#endif
753
754//
755// PEB.AppCompatFlags.LowPart
756// Tag FLAG_MASK_KERNEL
757//
759{
786 DoNotAddToCache = 0x80000000,
788
789//
790// PEB.AppCompatFlags.HighPart
791// Tag FLAG_MASK_KERNEL
792//
794{
796
797 // ReactOS-specific
798 RendererFull3D = 0x80000000, // CORE-20322
800
801
802//
803// PEB.AppCompatFlagsUser.LowPart
804// Tag FLAG_MASK_USER
805//
807{
826 NoDdeSync = 0x40000,
827 NoGhost = 0x80000,
828 NoDdeAsyncReg = 0x100000,
829 StrictLLHook = 0x200000,
830 NoShadow = 0x400000,
832 HighDpiAware = 0x2000000,
833 OpenGLEmfAware = 0x4000000,
835 NoPaddedBorder = 0x10000000,
837 HardwareAudioMixer = 0x40000000,
840
841//
842// PEB.AppCompatFlagsUser.HighPart
843// Tag FLAG_MASK_USER
844//
846{
870 DPIUnaware = 0x800000,
871 NoVirtWndRects = 0x1000000,
874 GdiDPIScaling = 0x8000000,
879
880//
881// Process Environment Block (PEB)
882// Thread Environment Block (TEB)
883//
884#include "peb_teb.h"
885
886#ifdef _WIN64
887//
888// Explicit 32 bit PEB/TEB
889//
890#define EXPLICIT_32BIT
891#include "peb_teb.h"
892#undef EXPLICIT_32BIT
893
894//
895// Explicit 64 bit PEB/TEB
896//
897#define EXPLICIT_64BIT
898#include "peb_teb.h"
899#undef EXPLICIT_64BIT
900#endif
901
902#ifdef NTOS_MODE_USER
903
904//
905// Process Information Structures for NtQueryProcessInformation
906//
907typedef struct _PROCESS_BASIC_INFORMATION
908{
916
917typedef struct _PROCESS_ACCESS_TOKEN
918{
922
924{
925 union
926 {
927 struct
928 {
930 } Set;
931 struct
932 {
934 UCHAR DriveType[32];
935 } Query;
936 };
938
939typedef struct _KERNEL_USER_TIMES
940{
946
947typedef struct _POOLED_USAGE_AND_LIMITS
948{
959
961{
965
966typedef struct _PROCESS_SESSION_INFORMATION
967{
970
972{
975 ULONG Type;
978
980{
985
986#endif
987
989{
994
995typedef struct _PROCESS_LDT_SIZE
996{
999
1001{
1005
1006// Compatibility with windows, see CORE-16757, CORE-17106, CORE-17247
1008
1010{
1013
1014//
1015// Apphelp SHIM Cache
1016//
1018{
1024
1028
1029
1031{
1035
1036
1037//
1038// Thread Information Structures for NtQueryProcessInformation
1039//
1040typedef struct _THREAD_BASIC_INFORMATION
1041{
1049
1050#ifndef NTOS_MODE_USER
1051
1052//
1053// Job Set Array
1054//
1055typedef struct _JOB_SET_ARRAY
1056{
1061
1062//
1063// Process Quota Type
1064//
1065typedef enum _PS_QUOTA_TYPE
1066{
1070#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1072#endif
1073#if (NTDDI_VERSION == NTDDI_LONGHORN)
1075#endif
1078
1079//
1080// EPROCESS Quota Structures
1081//
1083{
1089
1091{
1097
1098//
1099// Process Pagefault History
1100//
1102{
1109
1110//
1111// Process Impersonation Information
1112//
1114{
1120
1121//
1122// Process Termination Port
1123//
1124typedef struct _TERMINATION_PORT
1125{
1129
1130//
1131// Per-Process APC Rate Limiting
1132//
1133typedef struct _PSP_RATE_APC
1134{
1135 union
1136 {
1139 };
1143
1144//
1145// Executive Thread (ETHREAD)
1146//
1147typedef struct _ETHREAD
1148{
1151 union
1152 {
1156 };
1157 union
1158 {
1161 };
1163 union
1164 {
1168#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1170#endif
1171 };
1175#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1177#else
1178 union
1179 {
1180 KSEMAPHORE LpcReplySemaphore;
1182 };
1183 union
1184 {
1185 PVOID LpcReplyMessage;
1186 PVOID LpcWaitingOnPort;
1187 };
1188#endif
1193#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1195#else
1196 struct _EPROCESS *ThreadsProcess;
1197#endif
1199 union
1200 {
1203 };
1207#if (NTDDI_VERSION < NTDDI_LONGHORN)
1208 ULONG LpcReplyMessageId;
1209#endif
1211#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1213#else
1215#endif
1216 union
1217 {
1218 struct
1219 {
1221#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1223#else
1224 ULONG DeadThread:1;
1225#endif
1233#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1238#endif
1239 };
1241 };
1242 union
1243 {
1244 struct
1245 {
1250#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1252#endif
1253 };
1255 };
1256 union
1257 {
1258 struct
1259 {
1262#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1264#else
1265 ULONG AddressSpaceOwner:1;
1266#endif
1273#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1277#else
1278 ULONG ApcNeeded:1;
1279#endif
1280 };
1282 };
1283#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1285#else
1286 UCHAR ForwardClusterOnly;
1287#endif
1290#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1292 union
1293 {
1296 };
1300#endif
1302
1303//
1304// Executive Process (EPROCESS)
1305//
1306typedef struct _EPROCESS
1307{
1322#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1323 union
1324 {
1328 };
1329#else
1330 PVOID ExceptionPort;
1331#endif
1335#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1338#else
1340 KSPIN_LOCK HyperSpaceLock;
1341#endif
1349 struct _EJOB *Job;
1360#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1363#else
1364 PVOID Spare0[3];
1365#endif
1366 union
1367 {
1370 };
1377#ifdef _M_AMD64
1378 struct _WOW64_PROCESS *Wow64Process;
1379#else
1381#endif
1383#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1385#else
1387#endif
1390 struct _PEB* Peb;
1403#ifdef _M_AMD64
1404 ULONG Spares[2];
1405#else
1407#endif
1409#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1410 union
1411 {
1412 struct
1413 {
1429 };
1431 };
1432#else
1433 ULONG JobStatus;
1434#endif
1435 union
1436 {
1437 struct
1438 {
1452#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1454#else
1455 ULONG SessionCreationUnderway:1;
1456#endif
1468#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1470#else
1471 ULONG CreateFailed:1;
1472#endif
1474#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1476#else
1477 ULONG Spare1:1;
1478 ULONG Spare2:1;
1479#endif
1480 };
1482 };
1484#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1486#else
1487 USHORT NextPageColor;
1488#endif
1489 union
1490 {
1491 struct
1492 {
1495 };
1497 };
1502
1503//
1504// Job Token Filter Data
1505//
1506#include <pshpack1.h>
1508{
1519
1520//
1521// Executive Job (EJOB)
1522//
1523typedef struct _EJOB
1524{
1566#if (NTDDI_VERSION >= NTDDI_WINXP) && (NTDDI_VERSION < NTDDI_WS03)
1568#elif (NTDDI_VERSION >= NTDDI_WS03) && (NTDDI_VERSION < NTDDI_LONGHORN)
1570#elif (NTDDI_VERSION >= NTDDI_LONGHORN)
1572#endif
1577#include <poppack.h>
1578
1579//
1580// Job Information Structures for NtQueryInformationJobObject
1581//
1582
1584{
1594
1596{
1607
1609{
1614
1616{
1619
1621{
1628
1630{
1633
1635{
1639
1641{
1645
1647{
1655
1656
1657//
1658// Win32K Callback Registration Data
1659//
1661{
1665
1667{
1674
1676{
1681
1683{
1690
1692{
1698
1700{
1707
1709{
1712
1714{
1726
1728{
1745#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1747#endif
1749
1750#endif // !NTOS_MODE_USER
1751
1752#ifdef __cplusplus
1753}; // extern "C"
1754#endif
1755
1756#endif // _PSTYPES_H
ULONG_PTR PFN_NUMBER
unsigned char BOOLEAN
Type
Definition: Type.h:7
#define VOID
Definition: acefi.h:82
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:63
#define NTSTATUS
Definition: precomp.h:19
ULONG_PTR KAFFINITY
Definition: compat.h:85
_THREADINFOCLASS
Definition: compat.h:934
@ ThreadEnableAlignmentFaultFixup
Definition: compat.h:942
@ ThreadDescriptorTableEntry
Definition: compat.h:941
@ ThreadEventPair_Reusable
Definition: compat.h:943
@ ThreadAmILastThread
Definition: compat.h:947
@ ThreadTimes
Definition: compat.h:936
@ ThreadPagePriority
Definition: compat.h:959
@ 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
@ 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
@ ThreadPriorityBoost
Definition: compat.h:949
@ ThreadPerformanceCount
Definition: compat.h:946
@ ThreadIsIoPending
Definition: compat.h:951
@ ThreadZeroTlsCell
Definition: compat.h:945
@ ThreadHideFromDebugger
Definition: compat.h:952
enum _THREADINFOCLASS THREADINFOCLASS
Definition: thread.c:101
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:708
_PSPOWEREVENTTYPE
Definition: pstypes.h:446
@ PsW32DisplayState
Definition: pstypes.h:452
@ PsW32GdiOffRequest
Definition: pstypes.h:458
@ PsW32SetStateFailed
Definition: pstypes.h:454
@ PsW32PowerPolicyChanged
Definition: pstypes.h:449
@ PsW32GdiPrepareResumeUI
Definition: pstypes.h:457
@ PsW32CapabilitiesChanged
Definition: pstypes.h:453
@ PsW32GdiOff
Definition: pstypes.h:455
@ PsW32SystemPowerState
Definition: pstypes.h:450
@ PsW32MonitorOff
Definition: pstypes.h:459
@ PsW32GdiOn
Definition: pstypes.h:456
@ PsW32FullWake
Definition: pstypes.h:447
@ PsW32EventCode
Definition: pstypes.h:448
@ PsW32SystemTime
Definition: pstypes.h:451
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:599
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:846
@ NoGdiHwAcceleration
Definition: pstypes.h:849
@ NoDTToDITMouseBatch
Definition: pstypes.h:873
@ PreventMouseInPointer
Definition: pstypes.h:858
@ Disable8And16BitModes
Definition: pstypes.h:855
@ _8And16BitNoIncRefCount
Definition: pstypes.h:862
@ GdiDPIScalingForceDisable
Definition: pstypes.h:877
@ NoTimerCoalescing
Definition: pstypes.h:850
@ _8And16BitGDIRedraw
Definition: pstypes.h:860
@ DPIUnaware
Definition: pstypes.h:870
@ DisableFocusTracking
Definition: pstypes.h:876
@ ReorderWaveForCommunications
Definition: pstypes.h:848
@ GdiDPIScaling
Definition: pstypes.h:874
@ DisableWindowArrangement
Definition: pstypes.h:847
@ _8And16BitTimedPriSync
Definition: pstypes.h:865
@ EarlyMouseDelegation
Definition: pstypes.h:864
@ _8And16BitCopyOnFlip
Definition: pstypes.h:861
@ CFDNoRedirectInitialFolder
Definition: pstypes.h:872
@ _8And16BitAggregateBlts
Definition: pstypes.h:859
@ PerProcessSystemDPIForceOff
Definition: pstypes.h:869
@ UseWARPRendering
Definition: pstypes.h:852
@ UseIntegratedGraphics
Definition: pstypes.h:866
@ UseLegacyMouseWheelRouting
Definition: pstypes.h:867
@ NoVirtWndRects
Definition: pstypes.h:871
@ QueueMouseMoveOnReleaseCapture
Definition: pstypes.h:875
@ PromotePointer
Definition: pstypes.h:857
@ InstallShieldInstaller
Definition: pstypes.h:854
@ MirrorDriverDrawCursor
Definition: pstypes.h:853
@ PerProcessSystemDPIForceOn
Definition: pstypes.h:868
@ Disable8And16BitD3D
Definition: pstypes.h:856
@ _8And16BitDXMaxWinMode
Definition: pstypes.h:863
@ PrinterIsolationAware
Definition: pstypes.h:851
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:618
struct _PS_IMPERSONATION_INFORMATION * PPS_IMPERSONATION_INFORMATION
struct _PAGEFAULT_HISTORY PAGEFAULT_HISTORY
const struct _TEB_ACTIVE_FRAME * PCTEB_ACTIVE_FRAME
Definition: pstypes.h:723
NTSTATUS(NTAPI * PKWIN32_PROCESS_CALLOUT)(_In_ struct _EPROCESS *Process, _In_ BOOLEAN Create)
Definition: pstypes.h:525
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:715
struct _INITIAL_PEB * PINITIAL_PEB
struct _TEB_ACTIVE_FRAME_EX TEB_ACTIVE_FRAME_EX
enum _PSW32THREADCALLOUTTYPE PSW32THREADCALLOUTTYPE
_APPCOMPAT_FLAGS_HIGHPART
Definition: pstypes.h:794
@ RendererFull3D
Definition: pstypes.h:798
@ PosixDeleteDisabled
Definition: pstypes.h:795
struct _WIN32_POWERSTATE_PARAMETERS WIN32_POWERSTATE_PARAMETERS
struct _JOBOBJECT_BASIC_PROCESS_ID_LIST JOBOBJECT_BASIC_PROCESS_ID_LIST
_PSW32JOBCALLOUTTYPE
Definition: pstypes.h:489
@ PsW32JobCalloutTerminate
Definition: pstypes.h:492
@ PsW32JobCalloutAddProcess
Definition: pstypes.h:491
@ PsW32JobCalloutSetInformation
Definition: pstypes.h:490
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:593
_APPCOMPAT_FLAGS
Definition: pstypes.h:759
@ UserDisableForwarderPatch
Definition: pstypes.h:774
@ EnableLegacyNTFSFlagsForDocfileOpens
Definition: pstypes.h:772
@ FTMFromCurrentAPI
Definition: pstypes.h:762
@ GetShortPathNameNT4
Definition: pstypes.h:760
@ DisableParallelLoader
Definition: pstypes.h:783
@ GetDiskFreeSpace2GB
Definition: pstypes.h:761
@ DisableCicero
Definition: pstypes.h:765
@ AllowMaximizedWindowGamma
Definition: pstypes.h:779
@ DoNotAddToCache
Definition: pstypes.h:786
@ DisallowCOMBindingNotifications
Definition: pstypes.h:763
@ DisableMaybeNULLSizeisConsistencycheck
Definition: pstypes.h:769
@ DisableAdvancedRPCrangeCheck
Definition: pstypes.h:770
@ AddRestrictedSidInCoInitializeSecurity
Definition: pstypes.h:776
@ DisguisePlaceholders
Definition: pstypes.h:784
@ CloudFilesFullHydrationOnOpen
Definition: pstypes.h:781
@ EnableLegacyExceptionHandlinginOLE
Definition: pstypes.h:767
@ CloudFilesHydrationInForeground
Definition: pstypes.h:785
@ Ole32ValidatePointers
Definition: pstypes.h:764
@ CloudFilesFullHydration
Definition: pstypes.h:782
@ DisableNDRIIDConsistencyCheck
Definition: pstypes.h:773
@ DisableNewWMPAINTDispatchInOLE
Definition: pstypes.h:775
@ Ole32EnableAsyncDocFile
Definition: pstypes.h:766
@ AllocDebugInfoForCritSections
Definition: pstypes.h:777
@ DisableAdvanceRPCClientHardening
Definition: pstypes.h:768
@ CloudFilesHydrationDisallowed
Definition: pstypes.h:780
@ EnableLegacyLoadTypeLibForRelativePaths
Definition: pstypes.h:778
@ EnableLegacyExceptionHandlingInRPC
Definition: pstypes.h:771
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:557
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:625
enum _APPCOMPAT_USERFLAGS APPCOMPAT_USERFLAGS
struct _JOB_SET_ARRAY * PJOB_SET_ARRAY
struct _WIN32_OPENMETHOD_PARAMETERS * PWIN32_OPENMETHOD_PARAMETERS
_APPHELPCACHESERVICECLASS
Definition: pstypes.h:1018
@ ApphelpDBGReadRegistry
Definition: pstypes.h:1025
@ ApphelpCacheServiceLookup
Definition: pstypes.h:1019
@ ApphelpCacheServiceRemove
Definition: pstypes.h:1020
@ ApphelpCacheServiceUpdate
Definition: pstypes.h:1021
@ ApphelpCacheServiceDump
Definition: pstypes.h:1023
@ ApphelpDBGWriteRegistry
Definition: pstypes.h:1026
@ ApphelpCacheServiceFlush
Definition: pstypes.h:1022
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:569
struct JOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION * PJOBOBJECT_BASIC_AND_IO_ACCOUNTING_INFORMATION
_PSPROCESSPRIORITYMODE
Definition: pstypes.h:421
@ PsProcessPrioritySpinning
Definition: pstypes.h:424
@ PsProcessPriorityForeground
Definition: pstypes.h:422
@ PsProcessPriorityBackground
Definition: pstypes.h:423
enum _PS_QUOTA_TYPE PS_QUOTA_TYPE
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:539
struct _WIN32_OPENMETHOD_PARAMETERS WIN32_OPENMETHOD_PARAMETERS
_JOBOBJECTINFOCLASS
Definition: pstypes.h:428
@ JobObjectAssociateCompletionPortInformation
Definition: pstypes.h:435
@ JobObjectBasicLimitInformation
Definition: pstypes.h:430
@ JobObjectBasicAndIoAccountingInformation
Definition: pstypes.h:436
@ JobObjectBasicAccountingInformation
Definition: pstypes.h:429
@ JobObjectSecurityLimitInformation
Definition: pstypes.h:433
@ JobObjectExtendedLimitInformation
Definition: pstypes.h:437
@ JobObjectEndOfJobTimeInformation
Definition: pstypes.h:434
@ JobObjectBasicUIRestrictions
Definition: pstypes.h:432
@ JobObjectBasicProcessIdList
Definition: pstypes.h:431
@ MaxJobObjectInfoClass
Definition: pstypes.h:439
@ JobObjectJobSetInformation
Definition: pstypes.h:438
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:807
@ OpenGLEmfAware
Definition: pstypes.h:833
@ No50StylebitsInSetWindowLong
Definition: pstypes.h:810
@ HighDpiAware
Definition: pstypes.h:832
@ HardwareAudioMixer
Definition: pstypes.h:837
@ NoGhost
Definition: pstypes.h:827
@ NoPaddedBorder
Definition: pstypes.h:835
@ StrictLLHook
Definition: pstypes.h:829
@ UseDefaultCharset
Definition: pstypes.h:822
@ NoDdeSync
Definition: pstypes.h:826
@ NoMouseHideInEdit
Definition: pstypes.h:816
@ EnableTransparantBltMirror
Definition: pstypes.h:834
@ GiveupForeground
Definition: pstypes.h:814
@ FontSubstitution
Definition: pstypes.h:818
@ NoCharDeadKey
Definition: pstypes.h:823
@ DisableAnimation
Definition: pstypes.h:808
@ NoDdeAsyncReg
Definition: pstypes.h:828
@ No50StylebitsInCreateWindow
Definition: pstypes.h:819
@ DisableDrawPatternRect
Definition: pstypes.h:811
@ NoTryExceptForWindowProc
Definition: pstypes.h:824
@ NoCustomPaperSizes
Definition: pstypes.h:820
@ DisableSWCursorOnMoveSize
Definition: pstypes.h:838
@ NoShadow
Definition: pstypes.h:830
@ DisableKeyboardCues
Definition: pstypes.h:809
@ NoGdiBatching
Definition: pstypes.h:817
@ AlwaysActiveMenus
Definition: pstypes.h:815
@ NoDDETerminateDuringDestroy
Definition: pstypes.h:813
@ AllTheDdeHacks
Definition: pstypes.h:821
@ ForceLegacyResizeCM
Definition: pstypes.h:836
@ NoTimerCallbackProtection
Definition: pstypes.h:831
@ NoInitInsertReplaceFlags
Definition: pstypes.h:825
@ MSShellDialog
Definition: pstypes.h:812
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:499
@ PsW32ThreadCalloutInitialize
Definition: pstypes.h:500
@ PsW32ThreadCalloutExit
Definition: pstypes.h:501
NTSTATUS(NTAPI * PKWIN32_WIN32DATACOLLECTION_CALLOUT)(_In_ struct _EPROCESS *Process, _In_ PVOID Callback, _In_ PVOID Context)
Definition: pstypes.h:606
struct _JOBOBJECT_BASIC_LIMIT_INFORMATION JOBOBJECT_BASIC_LIMIT_INFORMATION
NTSTATUS(NTAPI * PKWIN32_POWERSTATE_CALLOUT)(_In_ struct _WIN32_POWERSTATE_PARAMETERS *Parameters)
Definition: pstypes.h:551
struct _JOBOBJECT_SECURITY_LIMIT_INFORMATION * PJOBOBJECT_SECURITY_LIMIT_INFORMATION
NTSTATUS(NTAPI * PKWIN32_POWEREVENT_CALLOUT)(_In_ struct _WIN32_POWEREVENT_PARAMETERS *Parameters)
Definition: pstypes.h:545
const struct _TEB_ACTIVE_FRAME_EX * PCTEB_ACTIVE_FRAME_EX
Definition: pstypes.h:730
struct _PS_JOB_TOKEN_FILTER * PPS_JOB_TOKEN_FILTER
VOID(NTAPI * PPEBLOCKROUTINE)(PVOID PebLock)
Definition: pstypes.h:645
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:575
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:1066
@ PsQuotaTypes
Definition: pstypes.h:1076
@ PsNonPagedPool
Definition: pstypes.h:1067
@ PsCpuRate
Definition: pstypes.h:1074
@ PsWorkingSet
Definition: pstypes.h:1071
@ PsPageFile
Definition: pstypes.h:1069
@ PsPagedPool
Definition: pstypes.h:1068
NTSTATUS(NTAPI * PKWIN32_DELETEMETHOD_CALLOUT)(_In_ struct _WIN32_DELETEMETHOD_PARAMETERS *Parameters)
Definition: pstypes.h:587
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:466
@ PowerState_NotifyWL
Definition: pstypes.h:476
@ PowerState_QueryServices
Definition: pstypes.h:470
@ PowerState_QueryAppsFailed
Definition: pstypes.h:471
@ PowerState_ResumeServices
Definition: pstypes.h:478
@ PowerState_BlockInput
Definition: pstypes.h:481
@ PowerState_BlockSessionSwitch
Definition: pstypes.h:467
@ PowerState_Init
Definition: pstypes.h:468
@ PowerState_ShowUI
Definition: pstypes.h:475
@ PowerState_UnblockInput
Definition: pstypes.h:482
@ PowerState_QueryApps
Definition: pstypes.h:469
@ PowerState_ResumeApps
Definition: pstypes.h:477
@ PowerState_SuspendServices
Definition: pstypes.h:474
@ PowerState_SuspendApps
Definition: pstypes.h:473
@ PowerState_UnBlockSessionSwitch
Definition: pstypes.h:479
@ PowerState_QueryServicesFailed
Definition: pstypes.h:472
@ PowerState_End
Definition: pstypes.h:480
NTSTATUS(NTAPI * PGDI_BATCHFLUSH_ROUTINE)(VOID)
Definition: pstypes.h:563
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:532
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:581
struct _JOBOBJECT_ASSOCIATE_COMPLETION_PORT JOBOBJECT_ASSOCIATE_COMPLETION_PORT
struct _PROCESS_BASIC_INFORMATION * PPROCESS_BASIC_INFORMATION
struct _PROCESS_BASIC_INFORMATION PROCESS_BASIC_INFORMATION
struct _KERNEL_USER_TIMES KERNEL_USER_TIMES
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
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
JOBOBJECT_BASIC_ACCOUNTING_INFORMATION BasicInfo
Definition: pstypes.h:1642
UNICODE_STRING ImageName
Definition: pstypes.h:1032
ULONG UniqueProcess
Definition: pstypes.h:734
ULONG UniqueThread
Definition: pstypes.h:735
ULONG64 UniqueThread
Definition: pstypes.h:741
ULONG64 UniqueProcess
Definition: pstypes.h:740
LARGE_INTEGER ThisPeriodTotalUserTime
Definition: pstypes.h:1531
ULONGLONG OtherTransferCount
Definition: pstypes.h:1559
LARGE_INTEGER TotalKernelTime
Definition: pstypes.h:1530
ULONG CurrentJobMemoryUsed
Definition: pstypes.h:1565
ULONG LimitFlags
Definition: pstypes.h:1539
ULONG TotalProcesses
Definition: pstypes.h:1534
ULONG ActiveProcessLimit
Definition: pstypes.h:1542
LIST_ENTRY ProcessListHead
Definition: pstypes.h:1527
UCHAR PriorityClass
Definition: pstypes.h:1544
ULONG UIRestrictionsClass
Definition: pstypes.h:1545
ULONGLONG OtherOperationCount
Definition: pstypes.h:1556
LARGE_INTEGER PerJobUserTimeLimit
Definition: pstypes.h:1538
ULONG Affinity
Definition: pstypes.h:1543
PVOID CompletionPort
Definition: pstypes.h:1550
ULONG ActiveProcesses
Definition: pstypes.h:1535
KEVENT Event
Definition: pstypes.h:1525
ULONG PeakProcessMemoryUsed
Definition: pstypes.h:1563
ULONG ProcessMemoryLimit
Definition: pstypes.h:1561
ULONGLONG ReadTransferCount
Definition: pstypes.h:1557
ULONG SchedulingClass
Definition: pstypes.h:1553
ULONG TotalPageFaultCount
Definition: pstypes.h:1533
ULONG MinimumWorkingSetSize
Definition: pstypes.h:1540
PVOID Token
Definition: pstypes.h:1547
PVOID CompletionKey
Definition: pstypes.h:1551
LIST_ENTRY JobLinks
Definition: pstypes.h:1526
ULONG PeakJobMemoryUsed
Definition: pstypes.h:1564
ULONG TotalTerminatedProcesses
Definition: pstypes.h:1536
ULONG JobFlags
Definition: pstypes.h:1575
ULONG MaximumWorkingSetSize
Definition: pstypes.h:1541
ULONG SecurityLimitFlags
Definition: pstypes.h:1546
IO_COUNTERS IoInfo
Definition: pstypes.h:1560
LARGE_INTEGER TotalUserTime
Definition: pstypes.h:1529
ULONGLONG ReadOperationCount
Definition: pstypes.h:1554
LARGE_INTEGER ThisPeriodTotalKernelTime
Definition: pstypes.h:1532
ULONGLONG WriteOperationCount
Definition: pstypes.h:1555
EX_PUSH_LOCK MemoryLimitsLock
Definition: pstypes.h:1571
PPS_JOB_TOKEN_FILTER Filter
Definition: pstypes.h:1548
ULONG JobMemoryLimit
Definition: pstypes.h:1562
ULONGLONG WriteTransferCount
Definition: pstypes.h:1558
ERESOURCE JobLock
Definition: pstypes.h:1528
LIST_ENTRY JobSetLinks
Definition: pstypes.h:1573
ULONG MemberLevel
Definition: pstypes.h:1574
ULONG EndOfJobTimeAction
Definition: pstypes.h:1549
LARGE_INTEGER PerProcessUserTimeLimit
Definition: pstypes.h:1537
ULONG SessionId
Definition: pstypes.h:1552
EPROCESS_QUOTA_ENTRY QuotaEntry[PsQuotaTypes]
Definition: pstypes.h:1092
LIST_ENTRY QuotaList
Definition: pstypes.h:1093
Definition: pstypes.h:1083
SIZE_T Return
Definition: pstypes.h:1087
SIZE_T Usage
Definition: pstypes.h:1084
SIZE_T Limit
Definition: pstypes.h:1085
SIZE_T Peak
Definition: pstypes.h:1086
PVOID ExceptionPortData
Definition: pstypes.h:1325
PVOID LockedPagesList
Definition: pstypes.h:1374
ULONG ExitProcessReported
Definition: pstypes.h:1417
LIST_ENTRY ActiveProcessLinks
Definition: pstypes.h:1314
EX_FAST_REF PrefetchTrace
Definition: pstypes.h:1391
USHORT Spare7
Definition: pstypes.h:1485
SIZE_T CommitCharge
Definition: pstypes.h:1317
PVOID SectionObject
Definition: pstypes.h:1350
PVOID VadFreeHint
Definition: pstypes.h:1357
MM_AVL_TABLE VadRoot
Definition: pstypes.h:1499
PVOID SecurityPort
Definition: pstypes.h:1376
ULONG RefTraceEnabled
Definition: pstypes.h:1423
UCHAR SubSystemMinorVersion
Definition: pstypes.h:1493
struct _PEB * Peb
Definition: pstypes.h:1390
LIST_ENTRY ThreadListHead
Definition: pstypes.h:1375
ULONG ProcessDeleteSelf
Definition: pstypes.h:1427
ULONG DeprioritizeViews
Definition: pstypes.h:1453
PVOID VdmObjects
Definition: pstypes.h:1358
UCHAR SubSystemMajorVersion
Definition: pstypes.h:1494
ULONG ExceptionPortValue
Definition: pstypes.h:1326
ULONG SetTimerResolution
Definition: pstypes.h:1450
PMM_AVL_TABLE PhysicalVadRoot
Definition: pstypes.h:1344
ULONG ProcessVerifierTarget
Definition: pstypes.h:1428
SIZE_T CommitChargeLimit
Definition: pstypes.h:1398
ULONG HandleTableRundown
Definition: pstypes.h:1421
NTSTATUS ExitStatus
Definition: pstypes.h:1483
PFN_NUMBER NumberOfPrivatePages
Definition: pstypes.h:1346
PVOID Session
Definition: pstypes.h:1371
PVOID DebugPort
Definition: pstypes.h:1321
KPROCESS Pcb
Definition: pstypes.h:1308
ULONG Flags2
Definition: pstypes.h:1430
EX_FAST_REF Token
Definition: pstypes.h:1333
ULONG HasAddressSpace
Definition: pstypes.h:1460
ULONG PdeUpdateNeeded
Definition: pstypes.h:1465
MMSUPPORT Vm
Definition: pstypes.h:1402
SIZE_T CommitChargePeak
Definition: pstypes.h:1399
ULONG ImageNotifyDone
Definition: pstypes.h:1464
ULONG VdmAllowed
Definition: pstypes.h:1466
struct _EJOB * Job
Definition: pstypes.h:1349
ULONG ProcessExiting
Definition: pstypes.h:1441
LARGE_INTEGER WriteTransferCount
Definition: pstypes.h:1396
ULONG DefaultPagePriority
Definition: pstypes.h:1426
ULONGLONG Filler
Definition: pstypes.h:1369
EX_PUSH_LOCK ProcessLock
Definition: pstypes.h:1309
HANDLE InheritedFromUniqueProcessId
Definition: pstypes.h:1355
UCHAR ExceptionPortState
Definition: pstypes.h:1327
ULONG WriteWatch
Definition: pstypes.h:1457
ULONG OverrideAddressSpace
Definition: pstypes.h:1459
ULONG NoDebugInherit
Definition: pstypes.h:1440
ULONG NumaAware
Definition: pstypes.h:1424
ULONG Flags
Definition: pstypes.h:1481
ULONG ProtectedProcess
Definition: pstypes.h:1425
PVOID CloneRoot
Definition: pstypes.h:1345
HARDWARE_PTE PageDirectoryPte
Definition: pstypes.h:1368
ULONG ProcessInserted
Definition: pstypes.h:1469
PEPROCESS_QUOTA_BLOCK QuotaBlock
Definition: pstypes.h:1352
ULONG Wow64VaSpace4Gb
Definition: pstypes.h:1448
LIST_ENTRY MmProcessLinks
Definition: pstypes.h:1406
PVOID LdtInformation
Definition: pstypes.h:1356
ULONG AccountingFolded
Definition: pstypes.h:1415
PVOID * Win32Process
Definition: pstypes.h:1348
PVOID FreeTebHint
Definition: pstypes.h:1362
ULONG SmapAllowed
Definition: pstypes.h:1467
EX_PUSH_LOCK AddressCreationLock
Definition: pstypes.h:1336
ULONG CreateReported
Definition: pstypes.h:1439
PETHREAD ForkInProgress
Definition: pstypes.h:1342
PFN_NUMBER NumberOfLockedPages
Definition: pstypes.h:1347
LIST_ENTRY JobLinks
Definition: pstypes.h:1373
PVOID SectionBaseAddress
Definition: pstypes.h:1351
ULONG_PTR HardwareTrigger
Definition: pstypes.h:1343
PHANDLE_TABLE ObjectTable
Definition: pstypes.h:1332
ULONG Wow64SplitPages
Definition: pstypes.h:1443
ULONG InjectInpageErrors
Definition: pstypes.h:1462
ULONG SparePsFlags1
Definition: pstypes.h:1475
ULONG ReportPhysicalPageChanges
Definition: pstypes.h:1420
LARGE_INTEGER CreateTime
Definition: pstypes.h:1310
PETHREAD RotateInProgress
Definition: pstypes.h:1337
ULONG OutswapEnabled
Definition: pstypes.h:1445
HANDLE UniqueProcessId
Definition: pstypes.h:1313
SIZE_T PeakVirtualSize
Definition: pstypes.h:1318
ULONG ProcessDelete
Definition: pstypes.h:1442
NTSTATUS LastThreadExitStatus
Definition: pstypes.h:1389
ULONG ForkFailed
Definition: pstypes.h:1447
SE_AUDIT_PROCESS_CREATION_INFO SeAuditProcessCreationInfo
Definition: pstypes.h:1401
ULONG Outswapped
Definition: pstypes.h:1446
ULONG LaunchPrefetched
Definition: pstypes.h:1461
ULONG LastReportMemory
Definition: pstypes.h:1419
LARGE_INTEGER ReadTransferCount
Definition: pstypes.h:1395
ULONG ImagePathHash
Definition: pstypes.h:1384
CHAR ImageFileName[16]
Definition: pstypes.h:1372
UCHAR PriorityClass
Definition: pstypes.h:1498
PVOID Win32WindowStation
Definition: pstypes.h:1354
ULONG AddressSpaceInitialized
Definition: pstypes.h:1449
ULONG JobNotReallyActive
Definition: pstypes.h:1414
USHORT SubSystemVersion
Definition: pstypes.h:1496
ULONG NeedsHandleRundown
Definition: pstypes.h:1422
LARGE_INTEGER ReadOperationCount
Definition: pstypes.h:1392
PVOID PaeTop
Definition: pstypes.h:1380
LARGE_INTEGER ExitTime
Definition: pstypes.h:1311
PPAGEFAULT_HISTORY WorkingSetWatch
Definition: pstypes.h:1353
SIZE_T VirtualSize
Definition: pstypes.h:1319
ULONG VmDeleted
Definition: pstypes.h:1444
LIST_ENTRY SessionProcessLinks
Definition: pstypes.h:1320
LARGE_INTEGER OtherTransferCount
Definition: pstypes.h:1397
ULONG BreakOnTermination
Definition: pstypes.h:1451
ULONG ProcessInSession
Definition: pstypes.h:1458
ULONG NewProcessReported
Definition: pstypes.h:1416
ULONG VmTopDown
Definition: pstypes.h:1463
ULONG DefaultHardErrorProcessing
Definition: pstypes.h:1388
SIZE_T QuotaUsage[PsQuotaTypes]
Definition: pstypes.h:1315
LARGE_INTEGER WriteOperationCount
Definition: pstypes.h:1393
PFN_NUMBER WorkingSetPage
Definition: pstypes.h:1334
ULONG ActiveThreads
Definition: pstypes.h:1382
PVOID DeviceMap
Definition: pstypes.h:1359
ULONG DefaultIoPriority
Definition: pstypes.h:1473
ULONG Cookie
Definition: pstypes.h:1500
ULONG ModifiedPageCount
Definition: pstypes.h:1408
SIZE_T QuotaPeak[PsQuotaTypes]
Definition: pstypes.h:1316
PVOID EtwDataSource
Definition: pstypes.h:1361
PVOID AweInfo
Definition: pstypes.h:1400
EX_RUNDOWN_REF RundownProtect
Definition: pstypes.h:1312
ULONG ReportCommitChanges
Definition: pstypes.h:1418
LARGE_INTEGER OtherOperationCount
Definition: pstypes.h:1394
ULONG SkipTerminationMsg
Definition: pstypes.h:1232
PKSTART_ROUTINE StartAddress
Definition: pstypes.h:1201
ULONG ThreadIoPriority
Definition: pstypes.h:1235
LARGE_INTEGER ExitTime
Definition: pstypes.h:1153
PPS_IMPERSONATION_INFORMATION ImpersonationInfo
Definition: pstypes.h:1189
NTSTATUS ExitStatus
Definition: pstypes.h:1159
KTHREAD Tcb
Definition: pstypes.h:1149
ULONG RateApcState
Definition: pstypes.h:1251
UCHAR CacheManagerActive
Definition: pstypes.h:1284
ULONG SpareUlong0
Definition: pstypes.h:1212
PVOID AlpcMessage
Definition: pstypes.h:1294
ULONG AlpcReceiveAttributeSet
Definition: pstypes.h:1295
ULONG OwnsSessionWorkingSetExclusive
Definition: pstypes.h:1271
EX_RUNDOWN_REF RundownProtect
Definition: pstypes.h:1205
ULONG_PTR TopLevelIrp
Definition: pstypes.h:1191
ULONG ExWorkerCanWaitUser
Definition: pstypes.h:1247
ULONG MemoryMaker
Definition: pstypes.h:1248
ULONG SameThreadApcFlags
Definition: pstypes.h:1281
ULONG ReadClusterSize
Definition: pstypes.h:1210
ULONG CacheManagerCount
Definition: pstypes.h:1299
ULONG AlpcMessageId
Definition: pstypes.h:1291
PVOID Win32StartAddress
Definition: pstypes.h:1198
ULONG OwnsSessionWorkingSetShared
Definition: pstypes.h:1272
CLIENT_ID Cid
Definition: pstypes.h:1174
UCHAR DisablePageFaultClustering
Definition: pstypes.h:1288
LIST_ENTRY IrpList
Definition: pstypes.h:1190
struct _TERMINATION_PORT * TerminationPort
Definition: pstypes.h:1165
ULONG CreateMsgSent
Definition: pstypes.h:1234
ULONG ThreadPagePriority
Definition: pstypes.h:1236
ULONG ThreadInserted
Definition: pstypes.h:1222
PVOID KeyedWaitValue
Definition: pstypes.h:1167
ULONG ActiveExWorker
Definition: pstypes.h:1246
UCHAR ActiveFaultCount
Definition: pstypes.h:1289
ULONG LpcReceivedMsgIdValid
Definition: pstypes.h:1260
EX_PUSH_LOCK ThreadLock
Definition: pstypes.h:1206
LIST_ENTRY ActiveTimerListHead
Definition: pstypes.h:1173
ULONG PriorityRegionActive
Definition: pstypes.h:1276
ULONG Spare1
Definition: pstypes.h:1275
KSPIN_LOCK ActiveTimerListLock
Definition: pstypes.h:1172
ULONG OwnsSystemWorkingSetShared
Definition: pstypes.h:1270
PDEVICE_OBJECT DeviceToVerify
Definition: pstypes.h:1192
LIST_ENTRY AlpcWaitListEntry
Definition: pstypes.h:1297
ULONG LpcReceivedMessageId
Definition: pstypes.h:1202
LARGE_INTEGER CreateTime
Definition: pstypes.h:1150
ULONG OwnsProcessWorkingSetShared
Definition: pstypes.h:1268
ULONG ActiveImpersonationInfo
Definition: pstypes.h:1227
ULONG Spare
Definition: pstypes.h:1263
ULONG SameThreadPassiveFlags
Definition: pstypes.h:1254
ULONG PendingRatecontrol
Definition: pstypes.h:1237
ULONG LpcExitThreadCalled
Definition: pstypes.h:1261
ULONG SkipCreationMsg
Definition: pstypes.h:1231
ULONG OwnsProcessWorkingSetExclusive
Definition: pstypes.h:1267
ULONG BreakOnTermination
Definition: pstypes.h:1230
ULONG CrossThreadFlags
Definition: pstypes.h:1240
PPSP_RATE_APC RateControlApc
Definition: pstypes.h:1194
PVOID OfsChain
Definition: pstypes.h:1160
KSEMAPHORE KeyedWaitSemaphore
Definition: pstypes.h:1176
LIST_ENTRY KeyedWaitChain
Definition: pstypes.h:1155
ULONG SystemThread
Definition: pstypes.h:1228
ULONG KeyedEventInUse
Definition: pstypes.h:1249
ULONG HardErrorsAreDisabled
Definition: pstypes.h:1229
ULONG SuppressSymbolLoad
Definition: pstypes.h:1274
KSEMAPHORE AlpcWaitSemaphore
Definition: pstypes.h:1298
struct _ETHREAD * ReaperLink
Definition: pstypes.h:1166
PVOID Win32StartParameter
Definition: pstypes.h:1169
LIST_ENTRY ThreadListEntry
Definition: pstypes.h:1204
LIST_ENTRY LpcReplyChain
Definition: pstypes.h:1154
ULONG HideFromDebugger
Definition: pstypes.h:1226
ULONG OwnsSystemWorkingSetExclusive
Definition: pstypes.h:1269
ULONG Terminated
Definition: pstypes.h:1220
LIST_ENTRY PostBlockList
Definition: pstypes.h:1162
BOOLEAN ImageUsesLargePages
Definition: pstypes.h:672
BOOLEAN IsLegacyProcess
Definition: pstypes.h:675
BOOLEAN IsProtectedProcess
Definition: pstypes.h:674
BOOLEAN InheritedAddressSpace
Definition: pstypes.h:663
BOOLEAN ReadImageFileExecOptions
Definition: pstypes.h:664
BOOLEAN BeingDebugged
Definition: pstypes.h:665
BOOLEAN SpareBits
Definition: pstypes.h:676
BOOLEAN BitField
Definition: pstypes.h:668
HANDLE Mutant
Definition: pstypes.h:685
PVOID StackBase
Definition: pstypes.h:695
PVOID PreviousStackBase
Definition: pstypes.h:693
PVOID AllocatedStackBase
Definition: pstypes.h:697
PVOID StackLimit
Definition: pstypes.h:696
PVOID PreviousStackLimit
Definition: pstypes.h:694
LARGE_INTEGER PerProcessUserTimeLimit
Definition: pstypes.h:1597
JOBOBJECT_BASIC_LIMIT_INFORMATION BasicLimitInformation
Definition: pstypes.h:1648
PTOKEN_PRIVILEGES PrivilegesToDelete
Definition: pstypes.h:1625
ULONG MemberLevel
Definition: pstypes.h:1058
HANDLE JobHandle
Definition: pstypes.h:1057
Definition: ketypes.h:599
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:1105
PROCESS_WS_WATCH_INFORMATION WatchInfo[1]
Definition: pstypes.h:1107
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::@4461::@4463 Query
struct _PROCESS_DEVICEMAP_INFORMATION::@4461::@4462 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:992
ULONGLONG TargetGEneration
Definition: pstypes.h:1140
SINGLE_LIST_ENTRY NextApc
Definition: pstypes.h:1137
ULONGLONG ExcessCycles
Definition: pstypes.h:1138
KAPC RateApc
Definition: pstypes.h:1141
SECURITY_IMPERSONATION_LEVEL ImpersonationLevel
Definition: pstypes.h:1118
ULONG CapturedSidsLength
Definition: pstypes.h:1511
PSID_AND_ATTRIBUTES CapturedSids
Definition: pstypes.h:1510
ULONG CapturedGroupsLength
Definition: pstypes.h:1514
ULONG CapturedGroupCount
Definition: pstypes.h:1512
PSID_AND_ATTRIBUTES CapturedGroups
Definition: pstypes.h:1513
ULONG CapturedPrivilegeCount
Definition: pstypes.h:1515
PLUID_AND_ATTRIBUTES CapturedPrivileges
Definition: pstypes.h:1516
ULONG CapturedPrivilegesLength
Definition: pstypes.h:1517
Definition: ntbasedef.h:640
TEB_ACTIVE_FRAME_CONTEXT BasicContext
Definition: pstypes.h:712
TEB_ACTIVE_FRAME BasicFrame
Definition: pstypes.h:727
PVOID ExtensionIdentifier
Definition: pstypes.h:728
PCTEB_ACTIVE_FRAME_CONTEXT Context
Definition: pstypes.h:721
struct _TEB_ACTIVE_FRAME * Previous
Definition: pstypes.h:720
struct _TERMINATION_PORT * Next
Definition: pstypes.h:1126
KPRIORITY BasePriority
Definition: compat.h:932
KAFFINITY AffinityMask
Definition: compat.h:930
PKWIN32_POWEREVENT_CALLOUT PowerEventCallout
Definition: pstypes.h:1732
PKWIN32_SESSION_CALLOUT WindowStationOkToCloseProcedure
Definition: pstypes.h:1740
PKWIN32_PROCESS_CALLOUT ProcessCallout
Definition: pstypes.h:1729
PKWIN32_SESSION_CALLOUT WindowStationDeleteProcedure
Definition: pstypes.h:1742
PKWIN32_SESSION_CALLOUT WindowStationParseProcedure
Definition: pstypes.h:1743
PKWIN32_SESSION_CALLOUT DesktopOkToCloseProcedure
Definition: pstypes.h:1737
PKWIN32_WIN32DATACOLLECTION_CALLOUT Win32DataCollectionProcedure
Definition: pstypes.h:1746
PKWIN32_POWERSTATE_CALLOUT PowerStateCallout
Definition: pstypes.h:1733
PKWIN32_SESSION_CALLOUT DesktopOpenProcedure
Definition: pstypes.h:1736
PKWIN32_SESSION_CALLOUT DesktopDeleteProcedure
Definition: pstypes.h:1739
PKWIN32_SESSION_CALLOUT DesktopCloseProcedure
Definition: pstypes.h:1738
PKWIN32_GLOBALATOMTABLE_CALLOUT GlobalAtomTableCallout
Definition: pstypes.h:1731
PKWIN32_SESSION_CALLOUT WindowStationOpenProcedure
Definition: pstypes.h:1744
PKWIN32_THREAD_CALLOUT ThreadCallout
Definition: pstypes.h:1730
PGDI_BATCHFLUSH_ROUTINE BatchFlushRoutine
Definition: pstypes.h:1735
PKWIN32_SESSION_CALLOUT WindowStationCloseProcedure
Definition: pstypes.h:1741
PKWIN32_JOB_CALLOUT JobCallout
Definition: pstypes.h:1734
PSW32JOBCALLOUTTYPE CalloutType
Definition: pstypes.h:1678
OB_OPEN_REASON OpenReason
Definition: pstypes.h:1684
PUNICODE_STRING RemainingName
Definition: pstypes.h:1721
_Out_ PUNICODE_STRING CompleteName
Definition: pstypes.h:1720
PSECURITY_QUALITY_OF_SERVICE SecurityQos
Definition: pstypes.h:1723
KPROCESSOR_MODE AccessMode
Definition: pstypes.h:1718
PSPOWEREVENTTYPE EventNumber
Definition: pstypes.h:1662
SYSTEM_POWER_STATE MinSystemState
Definition: pstypes.h:1670
POWERSTATETASK PowerStateTask
Definition: pstypes.h:1672
uint32_t * PULONG
Definition: typedefs.h:59
#define ANYSIZE_ARRAY
Definition: typedefs.h:46
#define NTAPI
Definition: typedefs.h:36
ULONG_PTR SIZE_T
Definition: typedefs.h:80
const char * PCSTR
Definition: typedefs.h:52
uint32_t ULONG_PTR
Definition: typedefs.h:65
uint32_t ULONG
Definition: typedefs.h:59
uint64_t ULONGLONG
Definition: typedefs.h:67
_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
FAST_MUTEX
Definition: extypes.h:17
KSTART_ROUTINE * PKSTART_ROUTINE
Definition: ketypes.h:551
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
unsigned char UCHAR
Definition: xmlstorage.h:181
char * LPSTR
Definition: xmlstorage.h:182
char CHAR
Definition: xmlstorage.h:175