ReactOS  0.4.11-dev-433-g473ca91
rtltypes.h
Go to the documentation of this file.
1 /*++ NDK Version: 0098
2 
3 Copyright (c) Alex Ionescu. All rights reserved.
4 
5 Header Name:
6 
7  rtltypes.h
8 
9 Abstract:
10 
11  Type definitions for the Run-Time Library
12 
13 Author:
14 
15  Alex Ionescu (alexi@tinykrnl.org) - Updated - 27-Feb-2006
16 
17 --*/
18 
19 #ifndef _RTLTYPES_H
20 #define _RTLTYPES_H
21 
22 //
23 // Dependencies
24 //
25 #include <umtypes.h>
26 #include <mmtypes.h>
27 #include <ldrtypes.h>
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
33 //
34 // Maximum Atom Length
35 //
36 #define RTL_MAXIMUM_ATOM_LENGTH 255
37 
38 //
39 // Process Parameters Flags
40 //
41 #define RTL_USER_PROCESS_PARAMETERS_NORMALIZED 0x01
42 #define RTL_USER_PROCESS_PARAMETERS_PROFILE_USER 0x02
43 #define RTL_USER_PROCESS_PARAMETERS_PROFILE_KERNEL 0x04
44 #define RTL_USER_PROCESS_PARAMETERS_PROFILE_SERVER 0x08
45 #define RTL_USER_PROCESS_PARAMETERS_UNKNOWN 0x10
46 #define RTL_USER_PROCESS_PARAMETERS_RESERVE_1MB 0x20
47 #define RTL_USER_PROCESS_PARAMETERS_RESERVE_16MB 0x40
48 #define RTL_USER_PROCESS_PARAMETERS_CASE_SENSITIVE 0x80
49 #define RTL_USER_PROCESS_PARAMETERS_DISABLE_HEAP_CHECKS 0x100
50 #define RTL_USER_PROCESS_PARAMETERS_PROCESS_OR_1 0x200
51 #define RTL_USER_PROCESS_PARAMETERS_PROCESS_OR_2 0x400
52 #define RTL_USER_PROCESS_PARAMETERS_PRIVATE_DLL_PATH 0x1000
53 #define RTL_USER_PROCESS_PARAMETERS_LOCAL_DLL_PATH 0x2000
54 #define RTL_USER_PROCESS_PARAMETERS_IMAGE_KEY_MISSING 0x4000
55 #define RTL_USER_PROCESS_PARAMETERS_NX 0x20000
56 
57 #define RTL_MAX_DRIVE_LETTERS 32
58 #define RTL_DRIVE_LETTER_VALID (USHORT)0x0001
59 
60 //
61 // End of Exception List
62 //
63 #define EXCEPTION_CHAIN_END ((PEXCEPTION_REGISTRATION_RECORD)-1)
64 
65 //
66 // Thread Error Mode Flags
67 //
68 /* Also defined in psdk/winbase.h */
69 #define SEM_FAILCRITICALERRORS 0x0001
70 #define SEM_NOGPFAULTERRORBOX 0x0002
71 #define SEM_NOALIGNMENTFAULTEXCEPT 0x0004
72 #define SEM_NOOPENFILEERRORBOX 0x8000
73 
74 #define RTL_SEM_FAILCRITICALERRORS (SEM_FAILCRITICALERRORS << 4)
75 #define RTL_SEM_NOGPFAULTERRORBOX (SEM_NOGPFAULTERRORBOX << 4)
76 #define RTL_SEM_NOALIGNMENTFAULTEXCEPT (SEM_NOALIGNMENTFAULTEXCEPT << 4)
77 
78 //
79 // Range and Range List Flags
80 //
81 #define RTL_RANGE_LIST_ADD_IF_CONFLICT 0x00000001
82 #define RTL_RANGE_LIST_ADD_SHARED 0x00000002
83 
84 #define RTL_RANGE_SHARED 0x01
85 #define RTL_RANGE_CONFLICT 0x02
86 
87 //
88 // Flags in RTL_ACTIVATION_CONTEXT_STACK_FRAME (from Checked NTDLL)
89 //
90 #define RTL_ACTIVATION_CONTEXT_STACK_FRAME_FLAG_RELEASE_ON_DEACTIVATION 0x01
91 #define RTL_ACTIVATION_CONTEXT_STACK_FRAME_FLAG_NO_DEACTIVATE 0x02
92 #define RTL_ACTIVATION_CONTEXT_STACK_FRAME_FLAG_ON_FREE_LIST 0x04
93 #define RTL_ACTIVATION_CONTEXT_STACK_FRAME_FLAG_HEAP_ALLOCATED 0x08
94 #define RTL_ACTIVATION_CONTEXT_STACK_FRAME_FLAG_NOT_REALLY_ACTIVATED 0x10
95 #define RTL_ACTIVATION_CONTEXT_STACK_FRAME_FLAG_ACTIVATED 0x20
96 #define RTL_ACTIVATION_CONTEXT_STACK_FRAME_FLAG_DEACTIVATED 0x40
97 
98 //
99 // Activation Context Frame Flags (from Checked NTDLL)
100 //
101 #define RTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_FORMAT_WHISTLER 0x01
102 
103 //
104 // RtlActivateActivationContextEx Flags (from Checked NTDLL)
105 //
106 #define RTL_ACTIVATE_ACTIVATION_CONTEXT_EX_FLAG_RELEASE_ON_STACK_DEALLOCATION 0x01
107 
108 //
109 // RtlDeactivateActivationContext Flags (based on Win32 flag and name of above)
110 //
111 #define RTL_DEACTIVATE_ACTIVATION_CONTEXT_FLAG_FORCE_EARLY_DEACTIVATION 0x01
112 
113 //
114 // RtlQueryActivationContext Flags (based on Win32 flag and name of above)
115 //
116 #define RTL_QUERY_ACTIVATION_CONTEXT_FLAG_USE_ACTIVE_ACTIVATION_CONTEXT 0x01
117 #define RTL_QUERY_ACTIVATION_CONTEXT_FLAG_IS_HMODULE 0x02
118 #define RTL_QUERY_ACTIVATION_CONTEXT_FLAG_IS_ADDRESS 0x04
119 #define RTL_QUERY_ACTIVATION_CONTEXT_FLAG_NO_ADDREF 0x80000000
120 
121 //
122 // Public Heap Flags
123 //
124 #if !defined(NTOS_MODE_USER) && !defined(_NTIFS_)
125 #define HEAP_NO_SERIALIZE 0x00000001
126 #define HEAP_GROWABLE 0x00000002
127 #define HEAP_GENERATE_EXCEPTIONS 0x00000004
128 #define HEAP_ZERO_MEMORY 0x00000008
129 #define HEAP_REALLOC_IN_PLACE_ONLY 0x00000010
130 #define HEAP_TAIL_CHECKING_ENABLED 0x00000020
131 #define HEAP_FREE_CHECKING_ENABLED 0x00000040
132 #define HEAP_DISABLE_COALESCE_ON_FREE 0x00000080
133 #define HEAP_CREATE_ALIGN_16 0x00010000
134 #define HEAP_CREATE_ENABLE_TRACING 0x00020000
135 #define HEAP_CREATE_ENABLE_EXECUTE 0x00040000
136 #endif
137 
138 //
139 // User-Defined Heap Flags and Classes
140 //
141 #define HEAP_SETTABLE_USER_VALUE 0x00000100
142 #define HEAP_SETTABLE_USER_FLAG1 0x00000200
143 #define HEAP_SETTABLE_USER_FLAG2 0x00000400
144 #define HEAP_SETTABLE_USER_FLAG3 0x00000800
145 #define HEAP_SETTABLE_USER_FLAGS 0x00000E00
146 #define HEAP_CLASS_0 0x00000000
147 #define HEAP_CLASS_1 0x00001000
148 #define HEAP_CLASS_2 0x00002000
149 #define HEAP_CLASS_3 0x00003000
150 #define HEAP_CLASS_4 0x00004000
151 #define HEAP_CLASS_5 0x00005000
152 #define HEAP_CLASS_6 0x00006000
153 #define HEAP_CLASS_7 0x00007000
154 #define HEAP_CLASS_8 0x00008000
155 #define HEAP_CLASS_MASK 0x0000F000
156 
157 //
158 // Internal HEAP Structure Flags
159 //
160 #define HEAP_FLAG_PAGE_ALLOCS 0x01000000
161 #define HEAP_PROTECTION_ENABLED 0x02000000
162 #define HEAP_BREAK_WHEN_OUT_OF_VM 0x04000000
163 #define HEAP_NO_ALIGNMENT 0x08000000
164 #define HEAP_CAPTURE_STACK_BACKTRACES 0x08000000
165 #define HEAP_SKIP_VALIDATION_CHECKS 0x10000000
166 #define HEAP_VALIDATE_ALL_ENABLED 0x20000000
167 #define HEAP_VALIDATE_PARAMETERS_ENABLED 0x40000000
168 #define HEAP_LOCK_USER_ALLOCATED 0x80000000
169 
170 //
171 // Heap Validation Flags
172 //
173 #define HEAP_CREATE_VALID_MASK \
174  (HEAP_NO_SERIALIZE | \
175  HEAP_GROWABLE | \
176  HEAP_GENERATE_EXCEPTIONS | \
177  HEAP_ZERO_MEMORY | \
178  HEAP_REALLOC_IN_PLACE_ONLY | \
179  HEAP_TAIL_CHECKING_ENABLED | \
180  HEAP_FREE_CHECKING_ENABLED | \
181  HEAP_DISABLE_COALESCE_ON_FREE | \
182  HEAP_CLASS_MASK | \
183  HEAP_CREATE_ALIGN_16 | \
184  HEAP_CREATE_ENABLE_TRACING | \
185  HEAP_CREATE_ENABLE_EXECUTE)
186 #ifdef C_ASSERT
187 C_ASSERT(HEAP_CREATE_VALID_MASK == 0x0007F0FF);
188 #endif
189 
190 //
191 // Native image architecture
192 //
193 #if defined(_M_IX86)
194 #define IMAGE_FILE_MACHINE_NATIVE IMAGE_FILE_MACHINE_I386
195 #elif defined(_M_ARM)
196 #define IMAGE_FILE_MACHINE_NATIVE IMAGE_FILE_MACHINE_ARM
197 #elif defined(_M_AMD64)
198 #define IMAGE_FILE_MACHINE_NATIVE IMAGE_FILE_MACHINE_AMD64
199 #else
200 #error Define these please!
201 #endif
202 
203 //
204 // Registry Keys
205 //
206 #define RTL_REGISTRY_ABSOLUTE 0
207 #define RTL_REGISTRY_SERVICES 1
208 #define RTL_REGISTRY_CONTROL 2
209 #define RTL_REGISTRY_WINDOWS_NT 3
210 #define RTL_REGISTRY_DEVICEMAP 4
211 #define RTL_REGISTRY_USER 5
212 #define RTL_REGISTRY_MAXIMUM 6
213 #define RTL_REGISTRY_HANDLE 0x40000000
214 #define RTL_REGISTRY_OPTIONAL 0x80000000
215 #define RTL_QUERY_REGISTRY_SUBKEY 0x00000001
216 #define RTL_QUERY_REGISTRY_TOPKEY 0x00000002
217 #define RTL_QUERY_REGISTRY_REQUIRED 0x00000004
218 #define RTL_QUERY_REGISTRY_NOVALUE 0x00000008
219 #define RTL_QUERY_REGISTRY_NOEXPAND 0x00000010
220 #define RTL_QUERY_REGISTRY_DIRECT 0x00000020
221 #define RTL_QUERY_REGISTRY_DELETE 0x00000040
222 
223 //
224 // Versioning
225 //
226 #define VER_MINORVERSION 0x0000001
227 #define VER_MAJORVERSION 0x0000002
228 #define VER_BUILDNUMBER 0x0000004
229 #define VER_PLATFORMID 0x0000008
230 #define VER_SERVICEPACKMINOR 0x0000010
231 #define VER_SERVICEPACKMAJOR 0x0000020
232 #define VER_SUITENAME 0x0000040
233 #define VER_PRODUCT_TYPE 0x0000080
234 #define VER_PLATFORM_WIN32s 0
235 #define VER_PLATFORM_WIN32_WINDOWS 1
236 #define VER_PLATFORM_WIN32_NT 2
237 #define VER_EQUAL 1
238 #define VER_GREATER 2
239 #define VER_GREATER_EQUAL 3
240 #define VER_LESS 4
241 #define VER_LESS_EQUAL 5
242 #define VER_AND 6
243 #define VER_OR 7
244 #define VER_CONDITION_MASK 7
245 #define VER_NUM_BITS_PER_CONDITION_MASK 3
246 
247 //
248 // Timezone IDs
249 //
250 #define TIME_ZONE_ID_UNKNOWN 0
251 #define TIME_ZONE_ID_STANDARD 1
252 #define TIME_ZONE_ID_DAYLIGHT 2
253 
254 //
255 // Maximum Path Length
256 //
257 #define MAX_PATH 260
258 
259 //
260 // RTL Lock Type (Critical Section or Resource)
261 //
262 #define RTL_CRITSECT_TYPE 0
263 #define RTL_RESOURCE_TYPE 1
264 
265 //
266 // RtlAcquirePrivileges Flags
267 //
268 #define RTL_ACQUIRE_PRIVILEGE_IMPERSONATE 1
269 #define RTL_ACQUIRE_PRIVILEGE_PROCESS 2
270 
271 #ifdef NTOS_MODE_USER
272 
273 //
274 // String Hash Algorithms
275 //
276 #define HASH_STRING_ALGORITHM_DEFAULT 0
277 #define HASH_STRING_ALGORITHM_X65599 1
278 #define HASH_STRING_ALGORITHM_INVALID 0xffffffff
279 
280 //
281 // RtlDuplicateString Flags
282 //
283 #define RTL_DUPLICATE_UNICODE_STRING_NULL_TERMINATE 1
284 #define RTL_DUPLICATE_UNICODE_STRING_ALLOCATE_NULL_STRING 2
285 
286 //
287 // RtlFindCharInUnicodeString Flags
288 //
289 #define RTL_FIND_CHAR_IN_UNICODE_STRING_START_AT_END 1
290 #define RTL_FIND_CHAR_IN_UNICODE_STRING_COMPLEMENT_CHAR_SET 2
291 #define RTL_FIND_CHAR_IN_UNICODE_STRING_CASE_INSENSITIVE 4
292 
293 //
294 // RtlImageNtHeaderEx Flags
295 //
296 #define RTL_IMAGE_NT_HEADER_EX_FLAG_NO_RANGE_CHECK 0x00000001
297 
298 //
299 // RtlDosApplyFileIsolationRedirection_Ustr Flags
300 //
301 #define RTL_DOS_APPLY_FILE_REDIRECTION_USTR_FLAG_RESPECT_DOT_LOCAL 0x01
302 
303 //
304 // Codepages
305 //
306 #define NLS_MB_CODE_PAGE_TAG NlsMbCodePageTag
307 #define NLS_MB_OEM_CODE_PAGE_TAG NlsMbOemCodePageTag
308 #define NLS_OEM_LEAD_BYTE_INFO NlsOemLeadByteInfo
309 
310 //
311 // Activation Contexts
312 //
313 #define INVALID_ACTIVATION_CONTEXT ((PVOID)(LONG_PTR)-1)
314 
315 //
316 // C++ CONST casting
317 //
318 #if defined(__cplusplus)
319 #define RTL_CONST_CAST(type) const_cast<type>
320 #else
321 #define RTL_CONST_CAST(type) (type)
322 #endif
323 
324 //
325 // Constant String Macro
326 //
327 #define RTL_CONSTANT_STRING(__SOURCE_STRING__) \
328 { \
329  sizeof(__SOURCE_STRING__) - sizeof((__SOURCE_STRING__)[0]), \
330  sizeof(__SOURCE_STRING__), \
331  (__SOURCE_STRING__) \
332 }
333 
334 //
335 // Constant Object Attributes Macro
336 //
337 #define RTL_CONSTANT_OBJECT_ATTRIBUTES(n, a) \
338 { \
339  sizeof(OBJECT_ATTRIBUTES), \
340  NULL, \
341  RTL_CONST_CAST(PUNICODE_STRING)(n), \
342  a, \
343  NULL, \
344  NULL \
345 }
346 
347 #define RTL_INIT_OBJECT_ATTRIBUTES(n, a) \
348  RTL_CONSTANT_OBJECT_ATTRIBUTES(n, a)
349 
350 #else /* NTOS_MODE_USER */
351 //
352 // Message Resource Flag
353 //
354 #define MESSAGE_RESOURCE_UNICODE 0x0001
355 
356 #endif /* !NTOS_MODE_USER */
357 #define MAXIMUM_LEADBYTES 12
358 
359 //
360 // RTL Debug Queries
361 //
362 #define RTL_DEBUG_QUERY_MODULES 0x01
363 #define RTL_DEBUG_QUERY_BACKTRACES 0x02
364 #define RTL_DEBUG_QUERY_HEAPS 0x04
365 #define RTL_DEBUG_QUERY_HEAP_TAGS 0x08
366 #define RTL_DEBUG_QUERY_HEAP_BLOCKS 0x10
367 #define RTL_DEBUG_QUERY_LOCKS 0x20
368 
369 //
370 // RTL Handle Flags
371 //
372 #define RTL_HANDLE_VALID 0x1
373 
374 //
375 // RTL Atom Flags
376 //
377 #define RTL_ATOM_IS_PINNED 0x1
378 
379 //
380 // Critical section lock bits
381 //
382 #define CS_LOCK_BIT 0x1
383 #define CS_LOCK_BIT_V 0x0
384 #define CS_LOCK_WAITER_WOKEN 0x2
385 #define CS_LOCK_WAITER_INC 0x4
386 
387 //
388 // Codepage Tags
389 //
390 #ifdef NTOS_MODE_USER
393 
394 //
395 // Constant String Macro
396 //
397 #define RTL_CONSTANT_STRING(__SOURCE_STRING__) \
398 { \
399  sizeof(__SOURCE_STRING__) - sizeof((__SOURCE_STRING__)[0]), \
400  sizeof(__SOURCE_STRING__), \
401  (__SOURCE_STRING__) \
402 }
403 
404 #endif /* NTOS_MODE_USER */
405 
406 //
407 // Constant Large Integer Macro
408 //
409 #ifdef NONAMELESSUNION
410 C_ASSERT(FIELD_OFFSET(LARGE_INTEGER, u.LowPart) == 0);
411 #else
412 C_ASSERT(FIELD_OFFSET(LARGE_INTEGER, LowPart) == 0);
413 #endif
414 #define RTL_CONSTANT_LARGE_INTEGER(quad_part) { { (quad_part), (quad_part)>>32 } }
415 #define RTL_MAKE_LARGE_INTEGER(low_part, high_part) { { (low_part), (high_part) } }
416 
417 //
418 // Boot Status Data Field Types
419 //
420 typedef enum _RTL_BSD_ITEM_TYPE
421 {
440 
441 #ifdef NTOS_MODE_USER
442 //
443 // Table and Compare result types
444 //
445 typedef enum _TABLE_SEARCH_RESULT
446 {
452 
453 typedef enum _RTL_GENERIC_COMPARE_RESULTS
454 {
459 
460 #endif /* NTOS_MODE_USER */
461 
462 //
463 // RTL Path Types
464 //
465 typedef enum _RTL_PATH_TYPE
466 {
475 } RTL_PATH_TYPE;
476 
477 #ifndef NTOS_MODE_USER
478 
479 //
480 // Heap Information Class
481 //
483 {
487 
488 //
489 // Callback function for RTL Timers or Registered Waits
490 //
491 typedef VOID
493  PVOID pvContext,
494  BOOLEAN fTimerOrWaitFired
495 );
496 
497 //
498 // Handler during Vectored RTL Exceptions
499 //
500 typedef LONG
502  PEXCEPTION_POINTERS ExceptionPointers
503 );
504 
505 //
506 // Worker Thread Callback for Rtl
507 //
508 typedef VOID
511 );
512 
513 #else /* !NTOS_MODE_USER */
514 
515 //
516 // RTL Library Allocation/Free Routines
517 //
518 typedef PVOID
519 (NTAPI *PRTL_ALLOCATE_STRING_ROUTINE)(
521 );
522 
523 typedef PVOID
524 (NTAPI *PRTL_REALLOCATE_STRING_ROUTINE)(
526  PVOID Buffer
527 );
528 
529 typedef
530 VOID
532  PVOID Buffer
533 );
534 
535 extern const PRTL_ALLOCATE_STRING_ROUTINE RtlAllocateStringRoutine;
537 extern const PRTL_REALLOCATE_STRING_ROUTINE RtlReallocateStringRoutine;
538 
539 #endif /* NTOS_MODE_USER */
540 
541 //
542 // Unhandled Exception Filter
543 //
544 typedef ULONG
546  _In_ struct _EXCEPTION_POINTERS *ExceptionInfo
547 );
548 typedef RTLP_UNHANDLED_EXCEPTION_FILTER *PRTLP_UNHANDLED_EXCEPTION_FILTER;
549 
550 //
551 // Callback for RTL Heap Enumeration
552 //
553 typedef NTSTATUS
555  _In_ PVOID HeapHandle,
556  _In_ PVOID UserParam
557 );
558 
559 //
560 // Thread and Process Start Routines for RtlCreateUserThread/Process
561 //
564 );
565 
566 typedef VOID
568  PTHREAD_START_ROUTINE StartAddress,
570 );
571 
572 //
573 // Worker Start/Exit Function
574 //
575 typedef NTSTATUS
579  _Out_ PHANDLE ThreadHandle
580 );
581 
582 typedef NTSTATUS
585 );
586 
587 //
588 // Declare empty structure definitions so that they may be referenced by
589 // routines before they are defined
590 //
591 struct _RTL_AVL_TABLE;
592 struct _RTL_GENERIC_TABLE;
593 struct _RTL_RANGE;
594 
595 //
596 // Routines and callbacks for the RTL AVL/Generic Table package
597 //
598 #ifdef NTOS_MODE_USER
599 typedef NTSTATUS
600 (NTAPI RTL_AVL_MATCH_FUNCTION)(
601  struct _RTL_AVL_TABLE *Table,
602  PVOID UserData,
604 );
605 typedef RTL_AVL_MATCH_FUNCTION *PRTL_AVL_MATCH_FUNCTION;
606 
608 (NTAPI RTL_AVL_COMPARE_ROUTINE) (
609  struct _RTL_AVL_TABLE *Table,
612 );
613 typedef RTL_AVL_COMPARE_ROUTINE *PRTL_AVL_COMPARE_ROUTINE;
614 
616 (NTAPI RTL_GENERIC_COMPARE_ROUTINE) (
617  struct _RTL_GENERIC_TABLE *Table,
620 );
621 typedef RTL_GENERIC_COMPARE_ROUTINE *PRTL_GENERIC_COMPARE_ROUTINE;
622 
623 typedef PVOID
624 (NTAPI RTL_GENERIC_ALLOCATE_ROUTINE) (
625  struct _RTL_GENERIC_TABLE *Table,
627 );
628 typedef RTL_GENERIC_ALLOCATE_ROUTINE *PRTL_GENERIC_ALLOCATE_ROUTINE;
629 
630 typedef PVOID
631 (NTAPI RTL_AVL_ALLOCATE_ROUTINE) (
632  struct _RTL_AVL_TABLE *Table,
634 );
635 typedef RTL_AVL_ALLOCATE_ROUTINE *PRTL_AVL_ALLOCATE_ROUTINE;
636 
637 typedef VOID
638 (NTAPI RTL_GENERIC_FREE_ROUTINE) (
639  struct _RTL_GENERIC_TABLE *Table,
640  PVOID Buffer
641 );
642 typedef RTL_GENERIC_FREE_ROUTINE *PRTL_GENERIC_FREE_ROUTINE;
643 
644 typedef VOID
645 (NTAPI RTL_AVL_FREE_ROUTINE) (
646  struct _RTL_AVL_TABLE *Table,
647  PVOID Buffer
648 );
649 typedef RTL_AVL_FREE_ROUTINE *PRTL_AVL_FREE_ROUTINE;
650 
651 #ifdef RTL_USE_AVL_TABLES
652 #undef RTL_GENERIC_COMPARE_ROUTINE
653 #undef PRTL_GENERIC_COMPARE_ROUTINE
654 #undef RTL_GENERIC_ALLOCATE_ROUTINE
655 #undef PRTL_GENERIC_ALLOCATE_ROUTINE
656 #undef RTL_GENERIC_FREE_ROUTINE
657 #undef PRTL_GENERIC_FREE_ROUTINE
658 
659 #define RTL_GENERIC_COMPARE_ROUTINE RTL_AVL_COMPARE_ROUTINE
660 #define PRTL_GENERIC_COMPARE_ROUTINE PRTL_AVL_COMPARE_ROUTINE
661 #define RTL_GENERIC_ALLOCATE_ROUTINE RTL_AVL_ALLOCATE_ROUTINE
662 #define PRTL_GENERIC_ALLOCATE_ROUTINE PRTL_AVL_ALLOCATE_ROUTINE
663 #define RTL_GENERIC_FREE_ROUTINE RTL_AVL_FREE_ROUTINE
664 #define PRTL_GENERIC_FREE_ROUTINE PRTL_AVL_FREE_ROUTINE
665 #endif /* RTL_USE_AVL_TABLES */
666 
667 #endif /* NTOS_MODE_USER */
668 
669 //
670 // RTL Query Registry callback
671 //
672 #ifdef NTOS_MODE_USER
673 typedef NTSTATUS
681 );
682 #endif
683 
684 //
685 // RTL Secure Memory callbacks
686 //
687 #ifdef NTOS_MODE_USER
688 typedef NTSTATUS
689 (NTAPI *PRTL_SECURE_MEMORY_CACHE_CALLBACK)(
692 );
693 #endif
694 
695 //
696 // RTL Range List callbacks
697 //
698 #ifdef NTOS_MODE_USER
699 typedef BOOLEAN
700 (NTAPI *PRTL_CONFLICT_RANGE_CALLBACK)(
701  PVOID Context,
702  struct _RTL_RANGE *Range
703 );
704 
705 //
706 // Custom Heap Commit Routine for RtlCreateHeap
707 //
708 typedef NTSTATUS
710  _In_ PVOID Base,
713 );
714 
715 //
716 // Parameters for RtlCreateHeap
717 //
718 typedef struct _RTL_HEAP_PARAMETERS
719 {
720  ULONG Length;
730  SIZE_T Reserved[2];
732 
733 //
734 // RTL Bitmap structures
735 //
736 typedef struct _RTL_BITMAP
737 {
739  PULONG Buffer;
741 
742 typedef struct _RTL_BITMAP_RUN
743 {
747 
748 //
749 // RtlGenerateXxxName context
750 //
751 typedef struct _GENERATE_NAME_CONTEXT
752 {
755  UCHAR NameLength;
756  WCHAR NameBuffer[8];
757  ULONG ExtensionLength;
761 
762 //
763 // RTL Splay and Balanced Links structures
764 //
765 typedef struct _RTL_SPLAY_LINKS
766 {
767  struct _RTL_SPLAY_LINKS *Parent;
768  struct _RTL_SPLAY_LINKS *LeftChild;
771 
772 typedef struct _RTL_BALANCED_LINKS
773 {
774  struct _RTL_BALANCED_LINKS *Parent;
777  CHAR Balance;
778  UCHAR Reserved[3];
780 
781 //
782 // RTL Avl/Generic Tables
783 //
784 #ifndef RTL_USE_AVL_TABLES
785 typedef struct _RTL_GENERIC_TABLE
786 {
787  PRTL_SPLAY_LINKS TableRoot;
792  PRTL_GENERIC_COMPARE_ROUTINE CompareRoutine;
793  PRTL_GENERIC_ALLOCATE_ROUTINE AllocateRoutine;
794  PRTL_GENERIC_FREE_ROUTINE FreeRoutine;
797 #endif /* !RTL_USE_AVL_TABLES */
798 
799 typedef struct _RTL_AVL_TABLE
800 {
806  PRTL_BALANCED_LINKS RestartKey;
808  PRTL_AVL_COMPARE_ROUTINE CompareRoutine;
809  PRTL_AVL_ALLOCATE_ROUTINE AllocateRoutine;
810  PRTL_AVL_FREE_ROUTINE FreeRoutine;
813 
814 #ifdef RTL_USE_AVL_TABLES
815 #undef RTL_GENERIC_TABLE
816 #undef PRTL_GENERIC_TABLE
817 
818 #define RTL_GENERIC_TABLE RTL_AVL_TABLE
819 #define PRTL_GENERIC_TABLE PRTL_AVL_TABLE
820 #endif /* RTL_USE_AVL_TABLES */
821 
822 //
823 // RTL Compression Buffer
824 //
825 typedef struct _COMPRESSED_DATA_INFO {
830  UCHAR Reserved;
834 
835 //
836 // RtlQueryRegistry Data
837 //
838 typedef struct _RTL_QUERY_REGISTRY_TABLE
839 {
841  ULONG Flags;
842  PCWSTR Name;
848 
849 //
850 // RTL Unicode Table Structures
851 //
852 typedef struct _UNICODE_PREFIX_TABLE_ENTRY
853 {
861 
862 typedef struct _UNICODE_PREFIX_TABLE
863 {
866  PUNICODE_PREFIX_TABLE_ENTRY NextPrefixTree;
867  PUNICODE_PREFIX_TABLE_ENTRY LastNextEntry;
869 
870 //
871 // Pfx* routines' table structures
872 //
873 typedef struct _PREFIX_TABLE_ENTRY
874 {
879  PSTRING Prefix;
881 
882 typedef struct _PREFIX_TABLE
883 {
886  PPREFIX_TABLE_ENTRY NextPrefixTree;
888 
889 //
890 // Time Structure for RTL Time calls
891 //
892 typedef struct _TIME_FIELDS
893 {
894  CSHORT Year;
895  CSHORT Month;
896  CSHORT Day;
897  CSHORT Hour;
898  CSHORT Minute;
899  CSHORT Second;
901  CSHORT Weekday;
903 
904 //
905 // Activation Context Frame
906 //
908 {
911  ULONG Flags;
913 
914 typedef struct _RTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_BASIC
915 {
916  SIZE_T Size;
917  ULONG Format;
919 } RTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_BASIC, *PRTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_BASIC;
920 
921 typedef struct _RTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_EXTENDED
922 {
923  SIZE_T Size;
924  ULONG Format;
926  PVOID Extra1;
927  PVOID Extra2;
928  PVOID Extra3;
929  PVOID Extra4;
930 } RTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_EXTENDED, *PRTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_EXTENDED;
931 
932 typedef RTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_EXTENDED RTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME;
933 typedef PRTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME_EXTENDED PRTL_CALLER_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME;
934 
935 typedef struct _RTL_HEAP_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME
936 {
939  PVOID ActivationStackBackTrace[8];
940 } RTL_HEAP_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME, *PRTL_HEAP_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME;
941 
942 typedef struct _ACTIVATION_CONTEXT_DATA
943 {
944  ULONG Magic;
945  ULONG HeaderSize;
946  ULONG FormatVersion;
947  ULONG TotalSize;
948  ULONG DefaultTocOffset;
949  ULONG ExtendedTocOffset;
950  ULONG AssemblyRosterOffset;
951  ULONG Flags;
952 } ACTIVATION_CONTEXT_DATA, *PACTIVATION_CONTEXT_DATA;
953 
954 typedef struct _ACTIVATION_CONTEXT_STACK_FRAMELIST
955 {
956  ULONG Magic;
957  ULONG FramesInUse;
958  LIST_ENTRY Links;
959  ULONG Flags;
960  ULONG NotFramesInUse;
961  RTL_HEAP_ALLOCATED_ACTIVATION_CONTEXT_STACK_FRAME Frames[32];
962 } ACTIVATION_CONTEXT_STACK_FRAMELIST, *PACTIVATION_CONTEXT_STACK_FRAMELIST;
963 
964 #endif /* NTOS_MODE_USER */
965 
966 #if (NTDDI_VERSION >= NTDDI_WS03SP1)
968 {
975 #else
976 typedef struct _ACTIVATION_CONTEXT_STACK
977 {
978  ULONG Flags;
983 #endif
984 
985 //
986 // ACE Structure
987 //
988 typedef struct _ACE
989 {
992 } ACE, *PACE;
993 
994 //
995 // Information Structures for RTL Debug Functions
996 //
998 {
1010 
1011 typedef struct _RTL_PROCESS_MODULES
1012 {
1016 
1018 {
1025 
1026 typedef struct _RTL_HEAP_TAG_INFO
1027 {
1032 
1034 {
1041 
1042 typedef struct _RTL_HEAP_USAGE
1043 {
1049  PRTL_HEAP_USAGE_ENTRY Entries;
1050  PRTL_HEAP_USAGE_ENTRY AddedEntries;
1051  PRTL_HEAP_USAGE_ENTRY RemovedEntries;
1054 
1055 typedef struct _RTL_HEAP_WALK_ENTRY
1056 {
1062  union
1063  {
1064  struct
1065  {
1070  } Block;
1071  struct
1072  {
1077  } Segment;
1078  };
1080 
1081 typedef struct _RTL_HEAP_ENTRY
1082 {
1086  union
1087  {
1088  struct
1089  {
1092  } s1;
1093  struct
1094  {
1097  } s2;
1098  } u;
1100 
1101 typedef struct _RTL_HEAP_TAG
1102 {
1110 
1112 {
1124  PRTL_HEAP_TAG Tags;
1125  PRTL_HEAP_ENTRY Entries;
1127 
1128 typedef struct _RTL_PROCESS_HEAPS
1129 {
1133 
1135 {
1147 
1148 typedef struct _RTL_PROCESS_LOCKS
1149 {
1153 
1155 {
1162 
1164 {
1171 
1173 {
1177  //
1178  // Option array continues below
1179  //
1181 
1183 {
1196  union
1197  {
1198  PRTL_PROCESS_MODULES Modules;
1199  PRTL_PROCESS_MODULE_INFORMATION_EX ModulesEx;
1200  };
1201  PRTL_PROCESS_BACKTRACES BackTraces;
1202  PRTL_PROCESS_HEAPS Heaps;
1203  PRTL_PROCESS_LOCKS Locks;
1212 
1213 //
1214 // Fiber local storage data
1215 //
1216 #define RTL_FLS_MAXIMUM_AVAILABLE 128
1217 typedef struct _RTL_FLS_DATA
1218 {
1222 
1223 
1224 //
1225 // Unload Event Trace Structure for RtlGetUnloadEventTrace
1226 //
1228 {
1236 
1237 //
1238 // RTL Handle Structures
1239 //
1241 {
1242  union
1243  {
1246  };
1248 
1249 typedef struct _RTL_HANDLE_TABLE
1250 {
1254  PRTL_HANDLE_TABLE_ENTRY FreeHandles;
1255  PRTL_HANDLE_TABLE_ENTRY CommittedHandles;
1256  PRTL_HANDLE_TABLE_ENTRY UnCommittedHandles;
1257  PRTL_HANDLE_TABLE_ENTRY MaxReservedHandles;
1259 
1260 //
1261 // RTL Boot Status Data Item
1262 //
1263 typedef struct _RTL_BSD_ITEM
1264 {
1269 
1270 //
1271 // Data Sub-Structures for "bootstat.dat" RTL Data File
1272 //
1274 {
1276  struct
1277  {
1283  } Flags;
1292 
1294 {
1301 
1303 {
1308  struct
1309  {
1312  } Flags;
1322 
1323 //
1324 // Main Structure for "bootstat.dat" RTL Data File
1325 //
1326 typedef struct _RTL_BSD_DATA
1327 {
1328  ULONG Version; // RtlBsdItemVersionNumber
1329  ULONG ProductType; // RtlBsdItemProductType
1330  BOOLEAN AabEnabled; // RtlBsdItemAabEnabled
1331  UCHAR AabTimeout; // RtlBsdItemAabTimeout
1332  BOOLEAN LastBootSucceeded; // RtlBsdItemBootGood
1333  BOOLEAN LastBootShutdown; // RtlBsdItemBootShutdown
1334  BOOLEAN SleepInProgress; // RtlBsdSleepInProgress
1336  UCHAR BootAttemptCount; // RtlBsdItemBootAttemptCount
1337  UCHAR LastBootCheckpoint; // RtlBsdItemBootCheckpoint
1338  UCHAR Checksum; // RtlBsdItemChecksum
1339  ULONG LastBootId; // RtlBsdItemBootId
1340  ULONG LastSuccessfulShutdownBootId; // RtlBsdItemShutdownBootId
1341  ULONG LastReportedAbnormalShutdownBootId; // RtlBsdItemReportedAbnormalShutdownBootId
1342  RTL_BSD_DATA_ERROR_INFO ErrorInfo; // RtlBsdItemErrorInfo
1343  RTL_BSD_POWER_BUTTON_PRESS_INFO PowerButtonPressInfo; // RtlBsdItemPowerButtonPressInfo
1345 
1346 #ifdef NTOS_MODE_USER
1347 //
1348 // Exception Record
1349 //
1350 typedef struct _EXCEPTION_REGISTRATION_RECORD
1351 {
1355 #endif /* NTOS_MODE_USER */
1356 
1357 //
1358 // Current Directory Structures
1359 //
1360 typedef struct _CURDIR
1361 {
1364 } CURDIR, *PCURDIR;
1365 
1366 typedef struct _RTLP_CURDIR_REF
1367 {
1371 
1372 typedef struct _RTL_RELATIVE_NAME_U
1373 {
1376  PRTLP_CURDIR_REF CurDirRef;
1378 
1380 {
1386 
1388 {
1389  PRTL_DRIVE_LETTER_CURDIR CurrentDirectories;
1393 
1394 //
1395 // Private State structure for RtlAcquirePrivilege/RtlReleasePrivilege
1396 //
1397 typedef struct _RTL_ACQUIRE_STATE
1398 {
1406 
1407 #ifndef NTOS_MODE_USER
1408 
1409 //
1410 // RTL Critical Section Structures
1411 //
1413 {
1422 
1424 {
1425  PRTL_CRITICAL_SECTION_DEBUG DebugInfo;
1432 
1433 #endif /* !NTOS_MODE_USER */
1434 
1435 //
1436 // RTL Private Heap Structures
1437 //
1438 typedef struct _HEAP_LOCK
1439 {
1440  union
1441  {
1443 #ifndef NTOS_MODE_USER
1445 #endif
1446  UCHAR Padding[0x68]; /* Max ERESOURCE size for x64 build. Needed because RTL is built only once */
1447  };
1448 } HEAP_LOCK, *PHEAP_LOCK;
1449 
1450 //
1451 // RTL Range List Structures
1452 //
1453 typedef struct _RTL_RANGE_LIST
1454 {
1460 
1461 typedef struct _RTL_RANGE
1462 {
1469 } RTL_RANGE, *PRTL_RANGE;
1470 
1471 typedef struct _RANGE_LIST_ITERATOR
1472 {
1478 
1479 //
1480 // RTL Resource
1481 //
1482 #define RTL_RESOURCE_FLAG_LONG_TERM ((ULONG)0x00000001)
1483 
1484 typedef struct _RTL_RESOURCE
1485 {
1496 
1497 //
1498 // Structures for RtlCreateUserProcess
1499 //
1500 typedef struct _RTL_USER_PROCESS_PARAMETERS
1501 {
1530 #if (NTDDI_VERSION >= NTDDI_LONGHORN)
1532 #endif
1533 #if (NTDDI_VERSION >= NTDDI_WIN7)
1535 #endif
1537 
1539 {
1546 
1547 #if (NTDDI_VERSION >= NTDDI_WIN7)
1548 
1550 {
1555 
1556 typedef enum _RTL_UMSCTX_FLAGS
1557 {
1559 #if (NTDDI_VERSION < NTDDI_WIN8)
1560  UMSCTX_HAS_QUANTUM_REQ_BIT,
1561  UMSCTX_HAS_AFFINITY_REQ_BIT,
1562  UMSCTX_HAS_PRIORITY_REQ_BIT,
1563 #endif
1570 
1572 
1573 #define UMSCTX_SCHEDULED_THREAD_MASK (1 << UMSCTX_SCHEDULED_THREAD_BIT)
1574 #define UMSCTX_SUSPENDED_MASK (1 << UMSCTX_SUSPENDED_BIT)
1575 #define UMSCTX_VOLATILE_CONTEXT_MASK (1 << UMSCTX_VOLATILE_CONTEXT_BIT)
1576 #define UMSCTX_TERMINATED_MASK (1 << UMSCTX_TERMINATED_BIT)
1577 #define UMSCTX_DEBUG_ACTIVE_MASK (1 << UMSCTX_DEBUG_ACTIVE_BIT)
1578 #define UMSCTX_RUNNING_ON_SELF_THREAD_MASK (1 << UMSCTX_RUNNING_ON_SELF_THREAD_BIT)
1579 #define UMSCTX_DENY_RUNNING_ON_SELF_THREAD_MASK (1 << UMSCTX_DENY_RUNNING_ON_SELF_THREAD_BIT)
1580 
1581 //
1582 // UMS Context
1583 //
1584 typedef struct DECLSPEC_ALIGN(16) _RTL_UMS_CONTEXT
1585 {
1587  CONTEXT Context;
1588  PVOID Teb;
1589  PVOID UserContext;
1590  union
1591  {
1592  struct
1593  {
1594  ULONG ScheduledThread : 1;
1595 #if (NTDDI_VERSION < NTDDI_WIN8)
1596  ULONG HasQuantumReq : 1;
1597  ULONG HasAffinityReq : 1;
1598  ULONG HasPriorityReq : 1;
1599 #endif
1600  ULONG Suspended : 1;
1601  ULONG VolatileContext : 1;
1602  ULONG Terminated : 1;
1603  ULONG DebugActive : 1;
1604  ULONG RunningOnSelfThread : 1;
1605  ULONG DenyRunningOnSelfThread : 1;
1606 #if (NTDDI_VERSION < NTDDI_WIN8)
1607  ULONG ReservedFlags : 22;
1608 #endif
1609  };
1610  LONG Flags;
1611  };
1612  union
1613  {
1614  struct
1615  {
1616 #if (NTDDI_VERSION >= NTDDI_WIN8)
1617  ULONG64 KernelUpdateLock : 2;
1618 #else
1619  ULONG64 KernelUpdateLock : 1;
1620  ULONG64 Reserved : 1;
1621 #endif
1622  ULONG64 PrimaryClientID : 62;
1623  };
1624  ULONG64 ContextLock;
1625  };
1626 #if (NTDDI_VERSION < NTDDI_WIN8)
1627  ULONG64 QuantumValue;
1628  GROUP_AFFINITY AffinityMask;
1629  LONG Priority;
1630 #endif
1631  struct _RTL_UMS_CONTEXT* PrimaryUmsContext;
1632  ULONG SwitchCount;
1633  ULONG KernelYieldCount;
1634  ULONG MixedYieldCount;
1635  ULONG YieldCount;
1637 #endif // #if (NTDDI_VERSION >= NTDDI_WIN7)
1638 
1639 //
1640 // RTL Atom Table Structures
1641 //
1643 {
1652 
1653 typedef struct _RTL_ATOM_TABLE
1654 {
1656  union
1657  {
1658 #ifdef NTOS_MODE_USER
1660 #else
1662 #endif
1663  };
1664  union
1665  {
1666 #ifdef NTOS_MODE_USER
1667  RTL_HANDLE_TABLE RtlHandleTable;
1668 #else
1670 #endif
1671  };
1673  PRTL_ATOM_TABLE_ENTRY Buckets[1];
1675 
1676 //
1677 // Timezone Information
1678 //
1680 {
1689 
1690 //
1691 // Hotpatch Header
1692 //
1693 typedef struct _RTL_PATCH_HEADER
1694 {
1700  struct _HOTPATCH_HEADER *HotpatchHeader;
1707 
1708 //
1709 // Header for NLS Files
1710 //
1711 typedef struct _NLS_FILE_HEADER
1712 {
1714  USHORT CodePage;
1722 
1723 //
1724 // Stack Traces
1725 //
1727 {
1734 
1736 {
1739 
1740 //
1741 // Trace Database
1742 //
1743 
1744 typedef ULONG (NTAPI *RTL_TRACE_HASH_FUNCTION) (ULONG Count, PVOID *Trace);
1745 
1746 typedef struct _RTL_TRACE_BLOCK
1747 {
1757 
1758 typedef struct _RTL_TRACE_DATABASE
1759 {
1767 #ifdef NTOS_MODE_USER
1769 #else
1770  union
1771  {
1774  } u;
1775 #endif
1778  RTL_TRACE_HASH_FUNCTION HashFunction;
1783 
1784 typedef struct _RTL_TRACE_SEGMENT
1785 {
1794 
1795 typedef struct _RTL_TRACE_ENUMERATE
1796 {
1801 
1802 //
1803 // Auto-Managed Rtl* String Buffer
1804 //
1805 typedef struct _RTL_BUFFER
1806 {
1814 
1816 {
1821 
1822 #ifndef NTOS_MODE_USER
1823 
1824 //
1825 // Message Resource Entry, Block and Data
1826 //
1828 {
1833 
1835 {
1840 
1842 {
1846 
1847 #endif /* !NTOS_MODE_USER */
1848 
1849 #ifdef NTOS_MODE_USER
1850 
1851 //
1852 // Memory Stream
1853 //
1854 #ifndef CONST_VTBL
1855 #ifdef CONST_VTABLE
1856 #define CONST_VTBL const
1857 #else
1858 #define CONST_VTBL
1859 #endif
1860 #endif
1861 
1862 struct IStreamVtbl;
1863 struct IStream;
1864 struct tagSTATSTG;
1865 
1866 typedef struct _RTL_MEMORY_STREAM RTL_MEMORY_STREAM, *PRTL_MEMORY_STREAM;
1867 
1868 typedef VOID
1869 (NTAPI *PRTL_MEMORY_STREAM_FINAL_RELEASE_ROUTINE)(
1870  _In_ PRTL_MEMORY_STREAM Stream
1871 );
1872 
1873 struct _RTL_MEMORY_STREAM
1874 {
1875  CONST_VTBL struct IStreamVtbl *Vtbl;
1876  LONG RefCount;
1877  ULONG Unk1;
1878  PVOID Current;
1879  PVOID Start;
1880  PVOID End;
1881  PRTL_MEMORY_STREAM_FINAL_RELEASE_ROUTINE FinalRelease;
1883 };
1884 
1885 #endif /* NTOS_MODE_USER */
1886 
1887 #ifdef __cplusplus
1888 }
1889 #endif
1890 
1891 #endif /* !_RTLTYPES_H */
DWORD *typedef PVOID
Definition: winlogon.h:61
PHANDLE_TABLE ExHandleTable
Definition: rtltypes.h:1669
RTL_CRITICAL_SECTION CriticalSection
Definition: rtltypes.h:1737
LONG(NTAPI * PVECTORED_EXCEPTION_HANDLER)(PEXCEPTION_POINTERS ExceptionPointers)
Definition: rtltypes.h:501
UCHAR BootAttemptCount
Definition: rtltypes.h:1336
struct _RTLP_CURDIR_REF RTLP_CURDIR_REF
USHORT Weekday
Definition: env_spec_w32.h:718
signed char * PCHAR
Definition: retypes.h:7
BOOLEAN CheckSumInserted
Definition: rtltypes.h:595
struct _RTL_TRACE_SEGMENT * SegmentList
Definition: rtltypes.h:1763
struct _RTL_HEAP_TAG_INFO RTL_HEAP_TAG_INFO
enum _RTL_UMSCTX_FLAGS * PRTL_UMSCTX_FLAGS
FAST_MUTEX FastMutex
Definition: rtltypes.h:1661
PULONG Buffer
Definition: typedefs.h:89
struct _RTL_BALANCED_LINKS * PRTL_BALANCED_LINKS
PSTRING Prefix
Definition: rtltypes.h:608
RTL_GENERIC_COMPARE_ROUTINE * PRTL_GENERIC_COMPARE_ROUTINE
Definition: rtltypes.h:448
enum _RTL_PATH_TYPE RTL_PATH_TYPE
NTSTATUS(* PRTL_QUERY_REGISTRY_ROUTINE)(IN PWSTR ValueName, IN ULONG ValueType, IN PVOID ValueData, IN ULONG ValueLength, IN PVOID Context, IN PVOID EntryContext)
Definition: nt_native.h:99
struct _RTL_TRACE_ENUMERATE RTL_TRACE_ENUMERATE
struct _RTL_RESOURCE RTL_RESOURCE
Definition: rtltypes.h:1726
struct _RTL_BSD_POWER_BUTTON_PRESS_INFO::@2575 Flags
RTL_AVL_COMPARE_ROUTINE * PRTL_AVL_COMPARE_ROUTINE
Definition: rtltypes.h:381
SIZE_T BytesReserved
Definition: rtltypes.h:1047
Definition: rtltypes.h:1642
LIST_ENTRY PatchList
Definition: rtltypes.h:1695
struct _RTL_PROCESS_BACKTRACE_INFORMATION * PRTL_PROCESS_BACKTRACE_INFORMATION
USHORT TagIndex
Definition: rtltypes.h:1039
ULONG NumberOfAllocations
Definition: rtltypes.h:1103
Definition: rtltypes.h:1827
PVOID LastEntry
Definition: rtltypes.h:1076
struct _EXCEPTION_REGISTRATION_RECORD * Next
Definition: compat.h:386
RTL_GENERIC_ALLOCATE_ROUTINE * PRTL_GENERIC_ALLOCATE_ROUTINE
Definition: rtltypes.h:457
PVOID ULONG Address
Definition: oprghdlr.h:14
ULONG TraceCount
Definition: rtltypes.h:1729
UCHAR OverheadBytes
Definition: rtltypes.h:1059
struct _RTL_QUERY_REGISTRY_TABLE * PRTL_QUERY_REGISTRY_TABLE
UCHAR NameLength
Definition: rtltypes.h:1649
PRTL_PROCESS_MODULES Modules
Definition: rtltypes.h:1198
USHORT TagIndex
Definition: rtltypes.h:1106
struct _RTL_PROCESS_VERIFIER_OPTIONS * PRTL_PROCESS_VERIFIER_OPTIONS
struct _UNICODE_PREFIX_TABLE_ENTRY * NextPrefixTree
Definition: rtltypes.h:620
USHORT CodePage
Definition: precomp.h:21
LIST_ENTRY FrameListCache
Definition: rtltypes.h:970
BOOLEAN LastBootShutdown
Definition: rtltypes.h:1333
SIZE_T BytesReservedMaximum
Definition: rtltypes.h:1048
struct _RTL_BSD_ITEM RTL_BSD_ITEM
struct _RTL_HANDLE_TABLE * PRTL_HANDLE_TABLE
struct _RTL_ATOM_TABLE_ENTRY * PRTL_ATOM_TABLE_ENTRY
USHORT UniDefaultChar
Definition: precomp.h:24
struct _MESSAGE_RESOURCE_BLOCK MESSAGE_RESOURCE_BLOCK
CSHORT NodeTypeCode
Definition: rtltypes.h:612
BOOLEAN NLS_MB_OEM_CODE_PAGE_TAG
PVOID DataAddress
Definition: rtltypes.h:1057
Definition: ntbasedef.h:635
SIZE_T Size
Definition: rtltypes.h:1809
ULONG(NTAPI * PTHREAD_START_ROUTINE)(PVOID Parameter)
Definition: rtltypes.h:562
BOOLEAN NLS_MB_CODE_PAGE_TAG
enum _RTL_UMS_SCHEDULER_REASON * PRTL_UMS_SCHEDULER_REASON
#define ANYSIZE_ARRAY
Definition: typedefs.h:45
struct _UNICODE_PREFIX_TABLE * PUNICODE_PREFIX_TABLE
SIZE_T Size
Definition: rtltypes.h:1083
_RTL_PATH_TYPE
Definition: rtltypes.h:465
USHORT Flags
Definition: rtltypes.h:1084
ULONGLONG Start
Definition: rtltypes.h:1463
struct _PREFIX_TABLE PREFIX_TABLE
PLIST_ENTRY RangeListHead
Definition: rtltypes.h:1473
UNICODE_STRING WindowTitle
Definition: rtltypes.h:1525
PRTL_HANDLE_TABLE_ENTRY FreeHandles
Definition: rtltypes.h:1254
__wchar_t WCHAR
Definition: xmlstorage.h:180
_Inout_ PVOID _Inout_ PSIZE_T CommitSize
Definition: rtltypes.h:574
PRTL_HEAP_TAG Tags
Definition: rtltypes.h:1124
struct _CURDIR * PCURDIR
_RTL_BSD_ITEM_TYPE
Definition: rtltypes.h:420
PLIST_ENTRY MergedHead
Definition: rtltypes.h:1474
ULONG DepthOfTree
Definition: rtltypes.h:422
RTL_DRIVE_LETTER_CURDIR CurrentDirectories[RTL_MAX_DRIVE_LETTERS]
Definition: rtltypes.h:1529
USHORT HeaderSize
Definition: precomp.h:20
struct _RTL_FLS_DATA * PRTL_FLS_DATA
struct _RTL_BALANCED_LINKS RTL_BALANCED_LINKS
PUNICODE_STRING Prefix
Definition: rtltypes.h:623
struct _ACE ACE
IN OUT PIRP IN ULONG IN WMIENABLEDISABLECONTROL Function
Definition: wmilib.h:37
PRTL_HEAP_COMMIT_ROUTINE CommitRoutine
Definition: nt_native.h:1676
unsigned char * PUCHAR
Definition: retypes.h:3
struct _EXCEPTION_REGISTRATION_RECORD EXCEPTION_REGISTRATION_RECORD
char CHAR
Definition: xmlstorage.h:175
struct DECLSPEC_ALIGN(16) _RTL_UMS_CONTEXT
Definition: rtltypes.h:1584
struct _RTL_PROCESS_MODULES * PRTL_PROCESS_MODULES
HANDLE ContainingDirectory
Definition: rtltypes.h:1375
struct _ACE * PACE
PRTL_HEAP_USAGE_ENTRY Entries
Definition: rtltypes.h:1049
enum _TABLE_SEARCH_RESULT TABLE_SEARCH_RESULT
struct _RTL_BSD_DATA_ERROR_INFO * PRTL_BSD_DATA_ERROR_INFO
enum _RTL_UMS_SCHEDULER_REASON RTL_UMS_SCHEDULER_REASON
#define HEAP_CREATE_VALID_MASK
Definition: rtltypes.h:173
struct _RTL_DEBUG_INFORMATION RTL_DEBUG_INFORMATION
UCHAR Flags
Definition: rtltypes.h:1648
_In_opt_ ULONG Base
Definition: rtlfuncs.h:2327
_In_ KPRIORITY Priority
Definition: kefuncs.h:516
struct _RTL_BSD_DATA RTL_BSD_DATA
ULONG NumberOfBuckets
Definition: rtltypes.h:1672
struct _RTL_ATOM_TABLE * PRTL_ATOM_TABLE
PVOID *typedef PWSTR
Definition: winlogon.h:66
USHORT Atom
Definition: rtltypes.h:1646
struct _RTL_BSD_ITEM * PRTL_BSD_ITEM
UCHAR OldPrivBuffer[1024]
Definition: rtltypes.h:1404
ULONG DeleteCount
Definition: rtltypes.h:424
struct _RTL_USER_PROCESS_INFORMATION RTL_USER_PROCESS_INFORMATION
_RTL_UMS_SCHEDULER_REASON
Definition: rtltypes.h:1549
struct _RTL_BITMAP_RUN * PRTL_BITMAP_RUN
_Inout_ __drv_aliasesMem PSLIST_ENTRY _Inout_ PSLIST_ENTRY _In_ ULONG Count
Definition: exfuncs.h:1015
struct _RTL_ACTIVATION_CONTEXT_STACK_FRAME * ActiveFrame
Definition: rtltypes.h:969
ULONG MaximumNumberOfHandles
Definition: rtltypes.h:1251
struct _RTL_DRIVE_LETTER_CURDIR RTL_DRIVE_LETTER_CURDIR
struct _PREFIX_TABLE_ENTRY * NextPrefixTree
Definition: rtltypes.h:606
ULONG TimeoutBoost
Definition: rtltypes.h:1493
struct _RTL_TRACE_SEGMENT * NextSegment
Definition: rtltypes.h:1788
struct _RTL_TIME_ZONE_INFORMATION * PRTL_TIME_ZONE_INFORMATION
SIZE_T Settable
Definition: rtltypes.h:1066
GLenum GLclampf GLint GLenum GLuint GLenum GLenum GLsizei GLenum const GLvoid GLfloat GLfloat GLfloat GLfloat GLclampd GLint GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean GLboolean GLboolean GLboolean GLint GLenum GLsizei const GLvoid GLenum GLint GLenum GLint GLint GLsizei GLint GLenum GLint GLint GLint GLint GLsizei GLenum GLsizei const GLuint GLboolean GLenum GLenum GLint GLsizei GLenum GLsizei GLenum const GLvoid GLboolean const GLboolean GLenum const GLdouble * u
Definition: glfuncs.h:88
UCHAR Checksum
Definition: rtltypes.h:1338
struct _RTL_HEAP_WALK_ENTRY::@2563::@2565 Block
* PRTL_BITMAP
Definition: rtltypes.h:32
struct _HEAP_LOCK HEAP_LOCK
* PRTL_UMS_CONTEXT
Definition: rtltypes.h:1636
ULONG LastReportedAbnormalShutdownBootId
Definition: rtltypes.h:1341
UNICODE_STRING ShellInfo
Definition: rtltypes.h:1527
USHORT CreatorBackTraceIndex
Definition: rtltypes.h:1107
struct _RTL_TRACE_DATABASE * Database
Definition: rtltypes.h:1787
FAST_MUTEX FastMutex
Definition: rtltypes.h:1773
USHORT TagIndex
Definition: rtltypes.h:1067
ACCESS_MASK AccessMask
Definition: rtltypes.h:991
ULONG DeCommitFreeBlockThreshold
Definition: nt_native.h:1670
struct _RTL_RANGE * PRTL_RANGE
struct _RTL_BSD_DATA_ERROR_INFO RTL_BSD_DATA_ERROR_INFO
ULONG Version
Definition: rtltypes.h:1328
UNICODE_STRING DesktopInfo
Definition: rtltypes.h:1526
struct _RTL_UNICODE_STRING_BUFFER * PRTL_UNICODE_STRING_BUFFER
LARGE_INTEGER LastReferenceTime
Definition: rtltypes.h:1288
struct _RTL_PROCESS_HEAPS RTL_PROCESS_HEAPS
PVOID DebugInfo
Definition: rtltypes.h:1494
#define NTSYSAPI
Definition: ntoskrnl.h:14
USHORT Flags
Definition: rtltypes.h:1830
SIZE_T CommittedSize
Definition: rtltypes.h:1095
PVOID UserData
Definition: rtltypes.h:1465
struct _RTL_HEAP_ENTRY::@2567::@2568 s1
PVOID FirstEntry
Definition: rtltypes.h:1075
VOID(NTAPI * PRTL_BASE_PROCESS_START_ROUTINE)(PTHREAD_START_ROUTINE StartAddress, PVOID Parameter)
Definition: rtltypes.h:567
struct _RTL_PATCH_HEADER * NextPath
Definition: rtltypes.h:1697
struct _RTL_DEBUG_INFORMATION * PRTL_DEBUG_INFORMATION
static int Link(const char **args)
Definition: vfdcmd.c:2414
struct _RTL_PROCESS_MODULES RTL_PROCESS_MODULES
IN BOOLEAN OUT PSTR Buffer
Definition: progress.h:34
PEXCEPTION_ROUTINE Handler
Definition: compat.h:387
struct _RTL_HEAP_ENTRY RTL_HEAP_ENTRY
VOID(NTAPI * WAITORTIMERCALLBACKFUNC)(PVOID pvContext, BOOLEAN fTimerOrWaitFired)
Definition: rtltypes.h:492
#define MAXIMUM_LEADBYTES
Definition: rtltypes.h:357
PVOID TableContext
Definition: rtltypes.h:428
struct _HEAP_LOCK * PHEAP_LOCK
LIST_ENTRY ListHead
Definition: rtltypes.h:1455
PRTL_PROCESS_LOCKS Locks
Definition: rtltypes.h:1203
RTL_PROCESS_BACKTRACE_INFORMATION BackTraces[1]
Definition: rtltypes.h:1169
uint32_t ULONG_PTR
Definition: typedefs.h:63
PLDR_DATA_TABLE_ENTRY PatchLdrDataTableEntry
Definition: rtltypes.h:1704
struct _RTL_ACTIVATION_CONTEXT_STACK_FRAME RTL_ACTIVATION_CONTEXT_STACK_FRAME
struct _RTL_CRITICAL_SECTION_DEBUG * PRTL_RESOURCE_DEBUG
PTOKEN_PRIVILEGES OldPrivileges
Definition: rtltypes.h:1401
struct _RTL_RELATIVE_NAME_U * PRTL_RELATIVE_NAME_U
struct _RTL_TRACE_ENUMERATE * PRTL_TRACE_ENUMERATE
WCHAR MinimumStaticBufferForTerminalNul
Definition: rtltypes.h:1819
struct tagRange Range
UCHAR Flags
Definition: rtltypes.h:1468
RTL_BSD_DATA_ERROR_INFO ErrorInfo
Definition: rtltypes.h:1342
PVOID OrderedPointer
Definition: rtltypes.h:419
struct _MESSAGE_RESOURCE_ENTRY * PMESSAGE_RESOURCE_ENTRY
struct _RTL_GENERIC_TABLE * PRTL_GENERIC_TABLE
RTL_BALANCED_LINKS BalancedRoot
Definition: rtltypes.h:418
ULONG CLONG
Definition: umtypes.h:126
_In_ PUNICODE_STRING ValueName
Definition: cmfuncs.h:264
SIZE_T BytesCommitted
Definition: rtltypes.h:1046
enum _RTL_UMSCTX_FLAGS RTL_UMSCTX_FLAGS
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170
ULONG(NTAPI * RTLP_UNHANDLED_EXCEPTION_FILTER)(_In_ struct _EXCEPTION_POINTERS *ExceptionInfo)
Definition: rtltypes.h:545
_In_ ULONG _In_ ULONG _In_opt_ PVOID Context
Definition: rtltypes.h:47
PVOID BackTrace[32]
Definition: rtltypes.h:1732
PRTL_ATOM_TABLE_ENTRY Buckets[1]
Definition: rtltypes.h:1673
HANDLE ExclusiveSemaphore
Definition: rtltypes.h:1489
struct _RTL_BITMAP_RUN RTL_BITMAP_RUN
struct _RTL_RESOURCE * PRTL_RESOURCE
struct _RTL_CRITICAL_SECTION_DEBUG RTL_RESOURCE_DEBUG
struct _COMPRESSED_DATA_INFO * PCOMPRESSED_DATA_INFO
PVOID Address
Definition: rtltypes.h:1036
ULONG_PTR * PSIZE_T
Definition: typedefs.h:78
PRTL_QUERY_REGISTRY_ROUTINE QueryRoutine
Definition: nt_native.h:109
WCHAR ExtensionBuffer[4]
Definition: rtltypes.h:599
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
RTL_PROCESS_VERIFIER_OPTIONS VerifierOptions
Definition: rtltypes.h:1206
struct _RTL_HEAP_PARAMETERS RTL_HEAP_PARAMETERS
SIZE_T BytesAllocated
Definition: rtltypes.h:1030
#define CONST_VTBL
Definition: objbase.h:222
struct _RTL_ACQUIRE_STATE * PRTL_ACQUIRE_STATE
struct _MESSAGE_RESOURCE_DATA * PMESSAGE_RESOURCE_DATA
struct _RTL_BSD_DATA_POWER_TRANSITION RTL_BSD_DATA_POWER_TRANSITION
long LONG
Definition: pedump.c:60
struct _RTL_CRITICAL_SECTION_DEBUG * PRTL_CRITICAL_SECTION_DEBUG
struct _PREFIX_TABLE_ENTRY * PPREFIX_TABLE_ENTRY
USHORT HandleIndex
Definition: rtltypes.h:1645
struct _RTL_PROCESS_LOCK_INFORMATION * PRTL_PROCESS_LOCK_INFORMATION
_HEAP_INFORMATION_CLASS
Definition: rtltypes.h:482
struct _ACTIVATION_CONTEXT_STACK * PACTIVATION_CONTEXT_STACK
RTL_GENERIC_FREE_ROUTINE * PRTL_GENERIC_FREE_ROUTINE
Definition: rtltypes.h:465
VOID(NTAPI * WORKERCALLBACKFUNC)(_In_ PVOID Context)
Definition: rtltypes.h:509
BOOLEAN SleepInProgress
Definition: rtltypes.h:1334
CRITICAL_SECTION CriticalSection
Definition: iprtprio.c:40
struct _UNICODE_PREFIX_TABLE UNICODE_PREFIX_TABLE
struct _RTL_PROCESS_MODULE_INFORMATION * PRTL_PROCESS_MODULE_INFORMATION
struct _RTL_PROCESS_BACKTRACES * PRTL_PROCESS_BACKTRACES
RTL_TRACE_HASH_FUNCTION HashFunction
Definition: rtltypes.h:1778
Definition: rtltypes.h:617
struct _RTL_TRACE_DATABASE * Database
Definition: rtltypes.h:1797
PRTL_HEAP_ENTRY Entries
Definition: rtltypes.h:1125
struct _PREFIX_TABLE_ENTRY PREFIX_TABLE_ENTRY
struct _RTL_HEAP_WALK_ENTRY RTL_HEAP_WALK_ENTRY
RTL_PROCESS_LOCK_INFORMATION Locks[1]
Definition: rtltypes.h:1151
struct _RTL_TIME_ZONE_INFORMATION RTL_TIME_ZONE_INFORMATION
struct _ACTIVATION_CONTEXT_STACK ACTIVATION_CONTEXT_STACK
struct _RTL_HEAP_INFORMATION * PRTL_HEAP_INFORMATION
struct _RTL_TRACE_BLOCK * Block
Definition: rtltypes.h:1799
USHORT AllocatorBackTraceIndex
Definition: rtltypes.h:1038
PTOKEN_PRIVILEGES NewPrivileges
Definition: rtltypes.h:1402
struct _RTL_HEAP_ENTRY::@2567::@2569 s2
VOID * Table
Definition: acefiex.h:656
PVOID FirstBlock
Definition: rtltypes.h:1096
#define _Out_
Definition: no_sal2.h:323
struct _MESSAGE_RESOURCE_DATA MESSAGE_RESOURCE_DATA
enum _RTL_BSD_ITEM_TYPE RTL_BSD_ITEM_TYPE
PLDR_DATA_TABLE_ENTRY TargetLdrDataTableEntry
Definition: rtltypes.h:1703
ULONG NumberOfFrees
Definition: rtltypes.h:1104
struct _RTL_AVL_TABLE RTL_AVL_TABLE
struct _RTL_BUFFER RTL_BUFFER
struct _RTL_ACTIVATION_CONTEXT_STACK_FRAME * Previous
Definition: winternl.h:249
struct _RTL_PATCH_HEADER * PRTL_PATCH_HEADER
USHORT Milliseconds
Definition: env_spec_w32.h:717
CSHORT NameLength
Definition: rtltypes.h:619
typedef ULONG(NTAPI *RTL_TRACE_HASH_FUNCTION)(ULONG Count
USHORT TransDefaultChar
Definition: precomp.h:25
struct _RTL_TRACE_SEGMENT RTL_TRACE_SEGMENT
PRTL_HANDLE_TABLE_ENTRY CommittedHandles
Definition: rtltypes.h:1255
UCHAR LastBootCheckpoint
Definition: rtltypes.h:1337
Definition: rtltypes.h:1033
USHORT AllocatorBackTraceIndex
Definition: rtltypes.h:1068
struct _RTL_STACK_TRACE_ENTRY RTL_STACK_TRACE_ENTRY
EXCEPTION_ROUTINE * PEXCEPTION_ROUTINE
Definition: compat.h:369
UINTN Size
Definition: acefiex.h:555
struct _STACK_TRACE_DATABASE * PSTACK_TRACE_DATABASE
struct _RTL_PROCESS_MODULE_INFORMATION_EX * PRTL_PROCESS_MODULE_INFORMATION_EX
PRTL_GENERIC_ALLOCATE_ROUTINE AllocateRoutine
Definition: rtltypes.h:474
struct _RTL_HANDLE_TABLE_ENTRY RTL_HANDLE_TABLE_ENTRY
struct _RTL_TRACE_BLOCK * PRTL_TRACE_BLOCK
FAST_MUTEX
Definition: extypes.h:17
HANDLE CriticalSectionHandle
Definition: rtltypes.h:1208
NTSTATUS(NTAPI * PRTL_START_POOL_THREAD)(_In_ PTHREAD_START_ROUTINE Function, _In_ PVOID Parameter, _Out_ PHANDLE ThreadHandle)
Definition: rtltypes.h:576
struct _TIME_FIELDS TIME_FIELDS
PRTL_DRIVE_LETTER_CURDIR CurrentDirectories
Definition: rtltypes.h:1389
unsigned char BOOLEAN
struct _RTL_PERTHREAD_CURDIR * PRTL_PERTHREAD_CURDIR
ULONG_PTR CommittedSize
Definition: rtltypes.h:1073
SECTION_IMAGE_INFORMATION ImageInformation
Definition: rtltypes.h:1544
UNICODE_STRING TargetDllName
Definition: rtltypes.h:1701
ULONG VirtualMemoryThreshold
Definition: nt_native.h:1673
PRTL_PROCESS_BACKTRACES BackTraces
Definition: rtltypes.h:1201
struct _RTL_HEAP_USAGE * PRTL_HEAP_USAGE
UCHAR Text[ANYSIZE_ARRAY]
Definition: rtltypes.h:1831
LONG NTSTATUS
Definition: precomp.h:26
VOID(NTAPI * PRTL_FREE_STRING_ROUTINE)(_In_ __drv_freesMem(Mem) _Post_invalid_ PVOID Buffer)
Definition: rtltypes.h:559
PVOID * Trace
Definition: rtltypes.h:1744
struct _RTL_TRACE_SEGMENT * PRTL_TRACE_SEGMENT
_IRQL_requires_same_ _In_ PVOID _In_ PVOID SecondStruct
Definition: rtltypes.h:379
CSHORT NodeTypeCode
Definition: rtltypes.h:618
CSHORT NameLength
Definition: rtltypes.h:605
struct _RTL_TRACE_DATABASE * PRTL_TRACE_DATABASE
struct _RTL_UNICODE_STRING_BUFFER RTL_UNICODE_STRING_BUFFER
struct _RTL_BSD_DATA_POWER_TRANSITION * PRTL_BSD_DATA_POWER_TRANSITION
_Inout_ PVOID * CommitAddress
Definition: rtltypes.h:574
USHORT DefaultChar
Definition: precomp.h:23
uint64_t ULONGLONG
Definition: typedefs.h:65
struct _RTL_BSD_DATA * PRTL_BSD_DATA
struct _RTL_HANDLE_TABLE_ENTRY * PRTL_HANDLE_TABLE_ENTRY
USHORT ReferenceCount
Definition: rtltypes.h:1647
ULONG CompressedChunkSizes[ANYSIZE_ARRAY]
Definition: rtltypes.h:643
UCHAR LeadByte[MAXIMUM_LEADBYTES]
Definition: precomp.h:27
PRTL_HEAP_USAGE_ENTRY AddedEntries
Definition: rtltypes.h:1050
_Inout_opt_ PVOID Parameter
Definition: rtltypes.h:353
PRTL_GENERIC_COMPARE_ROUTINE CompareRoutine
Definition: rtltypes.h:473
struct _RTL_HEAP_USAGE_ENTRY * Next
Definition: rtltypes.h:1035
_In_opt_ PVOID _Out_ PLARGE_INTEGER Cookie
Definition: cmfuncs.h:13
struct _RTL_STACK_TRACE_ENTRY * HashChain
Definition: rtltypes.h:1728
struct _RTL_USER_PROCESS_PARAMETERS * PRTL_USER_PROCESS_PARAMETERS
union _RTL_HEAP_ENTRY::@2567 u
_RTL_GENERIC_COMPARE_RESULTS
Definition: rtltypes.h:365
RTL_BSD_POWER_BUTTON_PRESS_INFO PowerButtonPressInfo
Definition: rtltypes.h:1343
ULONG WhichOrderedElement
Definition: rtltypes.h:420
ULONG NumberGenericTableElements
Definition: rtltypes.h:421
struct _RTL_HEAP_USAGE_ENTRY * PRTL_HEAP_USAGE_ENTRY
BOOLEAN AabEnabled
Definition: rtltypes.h:1330
USHORT Flags
Definition: rtltypes.h:1061
_In_ GUID _In_ PVOID ValueData
Definition: hubbusif.h:311
#define RTL_MAX_DRIVE_LETTERS
Definition: rtltypes.h:57
struct _UNICODE_PREFIX_TABLE_ENTRY * PUNICODE_PREFIX_TABLE_ENTRY
struct _RTL_BSD_POWER_BUTTON_PRESS_INFO * PRTL_BSD_POWER_BUTTON_PRESS_INFO
struct _RTL_TRACE_BLOCK ** Buckets
Definition: rtltypes.h:1777
struct _COMPRESSED_DATA_INFO COMPRESSED_DATA_INFO
_RTL_UMSCTX_FLAGS
Definition: rtltypes.h:1556
#define _Inout_
Definition: no_sal2.h:244
struct _RTL_CRITICAL_SECTION * PRTL_CRITICAL_SECTION
static IN LPSTR Unk1
Definition: ldrinit.c:46
PVOID PatchImageBase
Definition: rtltypes.h:1696
RTL_AVL_MATCH_FUNCTION * PRTL_AVL_MATCH_FUNCTION
Definition: rtltypes.h:407
RTL_PROCESS_MODULE_INFORMATION BaseInfo
Definition: rtltypes.h:1020
struct _CURDIR CURDIR
struct _RTL_BSD_DATA_POWER_TRANSITION::@2574 Flags
Definition: partlist.h:32
NTKERNELAPI const PRTL_ALLOCATE_STRING_ROUTINE RtlAllocateStringRoutine
#define LONG
Definition: msvc.h:36
struct _MESSAGE_RESOURCE_BLOCK * PMESSAGE_RESOURCE_BLOCK
ULONG NumberOfBits
Definition: typedefs.h:95
struct _RTL_HEAP_PARAMETERS * PRTL_HEAP_PARAMETERS
UNICODE_STRING DosPath
Definition: rtltypes.h:1384
struct _RTL_ACTIVATION_CONTEXT_STACK_FRAME * PRTL_ACTIVATION_CONTEXT_STACK_FRAME
_In_ PUNICODE_STRING Name
Definition: mrx.h:218
struct _RTL_PROCESS_MODULE_INFORMATION RTL_PROCESS_MODULE_INFORMATION
ULONG PVOID Reserved
Definition: ntimage.h:533
unsigned __int64 ULONG64
Definition: imports.h:198
ULONG ExclusiveWaiters
Definition: rtltypes.h:1490
unsigned char UCHAR
Definition: xmlstorage.h:181
struct _RTL_QUERY_REGISTRY_TABLE RTL_QUERY_REGISTRY_TABLE
struct _RTL_ACQUIRE_STATE RTL_ACQUIRE_STATE
PPREFIX_TABLE_ENTRY NextPrefixTree
Definition: rtltypes.h:614
ULONG NumberGenericTableElements
Definition: rtltypes.h:472
UNICODE_STRING ImagePathName
Definition: btrfs_drv.h:1787
HANDLE CriticalSectionOwnerThread
Definition: rtltypes.h:1209
USHORT CreatorBackTraceIndex
Definition: rtltypes.h:1116
struct _RTL_RANGE_LIST RTL_RANGE_LIST
VOID UINTN Length
Definition: acefiex.h:744
PRTL_SPLAY_LINKS TableRoot
Definition: rtltypes.h:468
struct _RTL_HEAP_TAG RTL_HEAP_TAG
PRTL_GENERIC_FREE_ROUTINE FreeRoutine
Definition: rtltypes.h:475
ULONG_PTR UnCommittedSize
Definition: rtltypes.h:1074
IN SIZE_T NumberOfBytes
Definition: ndis.h:3915
#define NTSTATUS
Definition: precomp.h:20
UNICODE_STRING String
Definition: rtltypes.h:1817
struct _RTL_FLS_DATA RTL_FLS_DATA
PVOID *typedef PHANDLE
Definition: ntsecpkg.h:414
#define VOID
Definition: acefi.h:82
union _RTL_TRACE_DATABASE::@2582 u
ULONG SizeOfBitMap
Definition: typedefs.h:88
struct _RTL_HEAP_USAGE_ENTRY RTL_HEAP_USAGE_ENTRY
ULONG NumberOfAllocations
Definition: rtltypes.h:1028
Definition: btrfs_drv.h:1762
struct _RTL_PROCESS_LOCKS * PRTL_PROCESS_LOCKS
struct _RTL_PROCESS_LOCKS RTL_PROCESS_LOCKS
_IRQL_requires_same_ _In_ PVOID FirstStruct
Definition: rtltypes.h:379
struct _RTL_STACK_TRACE_ENTRY * PRTL_STACK_TRACE_ENTRY
struct _RTL_PROCESS_HEAPS * PRTL_PROCESS_HEAPS
PRTL_AVL_COMPARE_ROUTINE CompareRoutine
Definition: rtltypes.h:425
Definition: rtltypes.h:1055
RTL_BITMAP
Definition: rtltypes.h:32
Definition: typedefs.h:117
IN OUT PLONG IN OUT PLONG Addend IN OUT PLONG IN LONG IN OUT PLONG IN LONG Increment IN PNDIS_RW_LOCK Lock
Definition: CrNtStubs.h:75
BOOLEAN LastBootSucceeded
Definition: rtltypes.h:1332
USHORT Length
Definition: rtltypes.h:1829
UNICODE_STRING CommandLine
Definition: btrfs_drv.h:1788
struct _RTL_HEAP_ENTRY * PRTL_HEAP_ENTRY
UCHAR Attributes
Definition: rtltypes.h:1467
USHORT CompressionFormatAndEngine
Definition: rtltypes.h:637
PRTL_AVL_FREE_ROUTINE FreeRoutine
Definition: rtltypes.h:427
RTL_AVL_FREE_ROUTINE * PRTL_AVL_FREE_ROUTINE
Definition: rtltypes.h:398
PUNICODE_PREFIX_TABLE_ENTRY LastNextEntry
Definition: rtltypes.h:630
Definition: rtltypes.h:603
struct _RTL_BSD_POWER_BUTTON_PRESS_INFO RTL_BSD_POWER_BUTTON_PRESS_INFO
struct _RTL_HEAP_TAG_INFO * PRTL_HEAP_TAG_INFO
struct _RTL_USER_PROCESS_INFORMATION * PRTL_USER_PROCESS_INFORMATION
enum _RTL_BSD_ITEM_TYPE * PRTL_BSD_ITEM_TYPE
ULONG StartingIndex
Definition: typedefs.h:94
UNICODE_STRING RuntimeData
Definition: rtltypes.h:1528
struct _RTLP_CURDIR_REF * PRTLP_CURDIR_REF
PVOID PACTIVATION_CONTEXT
Definition: ldrtypes.h:108
struct _RTL_UNLOAD_EVENT_TRACE * PRTL_UNLOAD_EVENT_TRACE
struct _RTL_PERTHREAD_CURDIR RTL_PERTHREAD_CURDIR
struct _RTL_HEAP_INFORMATION RTL_HEAP_INFORMATION
PUCHAR StaticBuffer
Definition: rtltypes.h:1808
RTL_UMS_CONTEXT
Definition: rtltypes.h:1636
struct _RTL_GENERIC_TABLE RTL_GENERIC_TABLE
ACPI_EFI_STATUS ExitStatus
Definition: acefiex.h:480
NTKERNELAPI const PRTL_FREE_STRING_ROUTINE RtlFreeStringRoutine
struct _RTL_SPLAY_LINKS RTL_SPLAY_LINKS
UCHAR Padding[0x68]
Definition: rtltypes.h:1446
#define _In_
Definition: no_sal2.h:204
USHORT Index
Definition: rtltypes.h:1730
RTL_CRITICAL_SECTION CriticalSection
Definition: rtltypes.h:1442
ULONG SharedWaiters
Definition: rtltypes.h:1488
ULONG_PTR SIZE_T
Definition: typedefs.h:78
LIST_ENTRY ListEntry
Definition: rtltypes.h:1219
PRTL_CRITICAL_SECTION_DEBUG DebugInfo
Definition: rtltypes.h:1425
UCHAR AabTimeout
Definition: rtltypes.h:1331
ULONG SizeOfHandleTableEntry
Definition: rtltypes.h:1252
struct _PREFIX_TABLE * PPREFIX_TABLE
struct _ACTIVATION_CONTEXT * ActivationContext
Definition: winternl.h:250
RTL_CRITICAL_SECTION Lock
Definition: rtltypes.h:1486
LONG NumberActive
Definition: rtltypes.h:1491
DWORD *typedef HANDLE
Definition: winlogon.h:61
PUNICODE_STRING ImageName
Definition: rtltypes.h:1390
HANDLE OldImpersonationToken
Definition: rtltypes.h:1400
_In_ ULONG ValueType
Definition: rtltypes.h:45
struct _RTL_HEAP_USAGE RTL_HEAP_USAGE
RTL_SPLAY_LINKS Links
Definition: rtltypes.h:622
LARGE_INTEGER PowerButtonTimestamp
Definition: rtltypes.h:1275
struct _RTL_PROCESS_BACKTRACE_INFORMATION RTL_PROCESS_BACKTRACE_INFORMATION
NTSTATUS(NTAPI * PRTL_EXIT_POOL_THREAD)(_In_ NTSTATUS ExitStatus)
Definition: rtltypes.h:583
ULONG Tag
Definition: rtltypes.h:1091
struct _RTL_CRITICAL_SECTION RTL_CRITICAL_SECTION
ULONGLONG End
Definition: rtltypes.h:1464
PRTL_AVL_ALLOCATE_ROUTINE AllocateRoutine
Definition: rtltypes.h:426
ULONG LastSuccessfulShutdownBootId
Definition: rtltypes.h:1340
unsigned short USHORT
Definition: pedump.c:61
PRTL_PROCESS_HEAPS Heaps
Definition: rtltypes.h:1202
MESSAGE_RESOURCE_BLOCK Blocks[ANYSIZE_ARRAY]
Definition: rtltypes.h:1844
SIZE_T StaticSize
Definition: rtltypes.h:1810
struct _RTL_ATOM_TABLE_ENTRY * HashLink
Definition: rtltypes.h:1644
C_ASSERT(FIELD_OFFSET(LARGE_INTEGER, LowPart)==0)
struct _RTL_AVL_TABLE * PRTL_AVL_TABLE
_IRQL_requires_same_ _In_ PVOID _In_ PVOID MatchData
Definition: rtltypes.h:405
struct _RANGE_LIST_ITERATOR * PRTL_RANGE_LIST_ITERATOR
struct _RTL_HANDLE_TABLE_ENTRY * NextFree
Definition: rtltypes.h:1245
struct _RTL_HEAP_TAG * PRTL_HEAP_TAG
struct _TIME_FIELDS * PTIME_FIELDS
ULONG KSPIN_LOCK
Definition: env_spec_w32.h:72
PRTL_HEAP_USAGE_ENTRY RemovedEntries
Definition: rtltypes.h:1051
struct _RTL_ATOM_TABLE_ENTRY RTL_ATOM_TABLE_ENTRY
RTL_BSD_DATA_POWER_TRANSITION PowerTransition
Definition: rtltypes.h:1335
#define FIELD_OFFSET(t, f)
Definition: typedefs.h:254
PVOID Owner
Definition: rtltypes.h:1466
PRTL_HANDLE_TABLE_ENTRY UnCommittedHandles
Definition: rtltypes.h:1256
HANDLE SharedSemaphore
Definition: rtltypes.h:1487
unsigned int * PULONG
Definition: retypes.h:1
_TABLE_SEARCH_RESULT
Definition: rtltypes.h:358
struct _MESSAGE_RESOURCE_ENTRY MESSAGE_RESOURCE_ENTRY
enum _RTL_GENERIC_COMPARE_RESULTS RTL_GENERIC_COMPARE_RESULTS
struct _RTL_HEAP_WALK_ENTRY::@2563::@2566 Segment
struct _RTL_CRITICAL_SECTION_DEBUG RTL_CRITICAL_SECTION_DEBUG
RTLP_UNHANDLED_EXCEPTION_FILTER * PRTLP_UNHANDLED_EXCEPTION_FILTER
Definition: rtltypes.h:548
struct _RTL_RELATIVE_NAME_U RTL_RELATIVE_NAME_U
struct _NLS_FILE_HEADER * PNLS_FILE_HEADER
PLIST_ENTRY OrderedPointer
Definition: rtltypes.h:470
#define RTL_FLS_MAXIMUM_AVAILABLE
Definition: rtltypes.h:1216
struct _RTL_PROCESS_LOCK_INFORMATION RTL_PROCESS_LOCK_INFORMATION
UNICODE_STRING DosPath
Definition: rtltypes.h:1362
struct _NLS_FILE_HEADER NLS_FILE_HEADER
struct _RTL_ATOM_TABLE RTL_ATOM_TABLE
struct _RTL_RANGE_LIST * PRTL_RANGE_LIST
struct _RTL_UNLOAD_EVENT_TRACE RTL_UNLOAD_EVENT_TRACE
ULONG Flags
Definition: rtltypes.h:1244
struct _GENERATE_NAME_CONTEXT * PGENERATE_NAME_CONTEXT
SIZE_T Size
Definition: rtltypes.h:1037
_IRQL_requires_same_ _In_ PVOID UserData
Definition: rtltypes.h:405
HANDLE OwningThread
Definition: rtltypes.h:1492
USHORT AllocatorBackTraceIndex
Definition: rtltypes.h:1085
struct _RTL_BUFFER * PRTL_BUFFER
struct _RTL_TRACE_BLOCK RTL_TRACE_BLOCK
PRTL_PROCESS_MODULE_INFORMATION_EX ModulesEx
Definition: rtltypes.h:1199
#define BOOLEAN
Definition: pedump.c:73
ULONG LastBootId
Definition: rtltypes.h:1339
PUCHAR Buffer
Definition: rtltypes.h:1807
SIZE_T BytesAllocated
Definition: rtltypes.h:1105
struct _RTL_HEAP_WALK_ENTRY * PRTL_HEAP_WALK_ENTRY
PRTL_BALANCED_LINKS RestartKey
Definition: rtltypes.h:423
struct _STACK_TRACE_DATABASE STACK_TRACE_DATABASE
ULONG ERESOURCE
Definition: env_spec_w32.h:594
unsigned int ULONG
Definition: retypes.h:1
PUNICODE_PREFIX_TABLE_ENTRY NextPrefixTree
Definition: rtltypes.h:629
Definition: rtltypes.h:1240
struct _RTL_PROCESS_VERIFIER_OPTIONS RTL_PROCESS_VERIFIER_OPTIONS
PVOID DataBuffer
Definition: rtltypes.h:1266
HANDLE Handle
Definition: rtltypes.h:1363
struct _UNICODE_PREFIX_TABLE_ENTRY UNICODE_PREFIX_TABLE_ENTRY
_In_ ULONG _In_ ULONG _In_opt_ PVOID _In_opt_ PVOID EntryContext
Definition: rtltypes.h:47
RTL_PROCESS_MODULE_INFORMATION Modules[1]
Definition: rtltypes.h:1014
ULONG ProductType
Definition: rtltypes.h:1329
RTL_SPLAY_LINKS Links
Definition: rtltypes.h:607
LIST_ENTRY InsertOrderList
Definition: rtltypes.h:469
enum _HEAP_INFORMATION_CLASS HEAP_INFORMATION_CLASS
RTL_BSD_ITEM_TYPE Type
Definition: rtltypes.h:1265
UNICODE_STRING RelativeName
Definition: rtltypes.h:1374
USHORT MaximumCharacterSize
Definition: precomp.h:22
RTL_HEAP_INFORMATION Heaps[1]
Definition: rtltypes.h:1131
PRTL_HANDLE_TABLE_ENTRY MaxReservedHandles
Definition: rtltypes.h:1257
RTL_AVL_ALLOCATE_ROUTINE * PRTL_AVL_ALLOCATE_ROUTINE
Definition: rtltypes.h:390
ULONG WhichOrderedElement
Definition: rtltypes.h:471
ULONG DataLength
Definition: rtltypes.h:1267
const uint16_t * PCWSTR
Definition: typedefs.h:55
UCHAR SegmentIndex
Definition: rtltypes.h:1060
struct _UNICODE_PREFIX_TABLE_ENTRY * CaseMatch
Definition: rtltypes.h:621
CSHORT NodeTypeCode
Definition: rtltypes.h:604
USHORT TransUniDefaultChar
Definition: precomp.h:26
struct _RANGE_LIST_ITERATOR RTL_RANGE_LIST_ITERATOR
SIZE_T ReservedForAllocatedSize
Definition: rtltypes.h:1811
struct _RTL_SPLAY_LINKS * PRTL_SPLAY_LINKS
_In_ HANDLE ProcessHandle
Definition: mmfuncs.h:403
Definition: rtltypes.h:1081
_In_ ULONG _In_ ULONG ValueLength
Definition: rtltypes.h:47
_IRQL_requires_same_ _In_ CLONG ByteSize
Definition: rtltypes.h:389
SIZE_T Settable
Definition: rtltypes.h:1090
struct _HOTPATCH_HEADER * HotpatchHeader
Definition: rtltypes.h:1700
short CSHORT
Definition: umtypes.h:127
ULONG HashCounter[16]
Definition: rtltypes.h:1781
KSPIN_LOCK SpinLock
Definition: rtltypes.h:1772
UCHAR CompressionUnitShift
Definition: rtltypes.h:638
struct _RTL_TRACE_DATABASE RTL_TRACE_DATABASE
NTSTATUS(* PRTL_HEAP_COMMIT_ROUTINE)(IN PVOID Base, IN OUT PVOID *CommitAddress, IN OUT PULONG CommitSize)
Definition: nt_native.h:1660
struct _RTL_USER_PROCESS_PARAMETERS RTL_USER_PROCESS_PARAMETERS
struct _RTL_PATCH_HEADER RTL_PATCH_HEADER
struct _RTL_HANDLE_TABLE RTL_HANDLE_TABLE
ULONG DeCommitTotalFreeThreshold
Definition: nt_native.h:1671
PVOID ReservedForIMalloc
Definition: rtltypes.h:1812
Definition: rtltypes.h:988
ACE_HEADER Header
Definition: rtltypes.h:990
_Inout_opt_ PUNICODE_STRING _Inout_opt_ PUNICODE_STRING Stream
Definition: fltkernel.h:1092
PRTLP_CURDIR_REF CurDirRef
Definition: rtltypes.h:1376
struct _RTL_RANGE RTL_RANGE
ULONG ACCESS_MASK
Definition: nt_native.h:40
struct _GENERATE_NAME_CONTEXT GENERATE_NAME_CONTEXT
struct _EXCEPTION_REGISTRATION_RECORD * PEXCEPTION_REGISTRATION_RECORD
struct _RTL_PROCESS_MODULE_INFORMATION_EX RTL_PROCESS_MODULE_INFORMATION_EX
struct _RTL_DRIVE_LETTER_CURDIR * PRTL_DRIVE_LETTER_CURDIR
SIZE_T DataSize
Definition: rtltypes.h:1058
NTSTATUS(NTAPI * PHEAP_ENUMERATION_ROUTINE)(_In_ PVOID HeapHandle, _In_ PVOID UserParam)
Definition: rtltypes.h:554
CSHORT NameLength
Definition: rtltypes.h:613
SIZE_T BytesAllocated
Definition: rtltypes.h:1045
struct _RTL_CRITICAL_SECTION * CriticalSection
Definition: rtltypes.h:1416
USHORT Depth
Definition: rtltypes.h:1731
WCHAR TagName[24]
Definition: rtltypes.h:1108
struct _SYSTEM_HOTPATCH_CODE_INFORMATION * CodeInfo
Definition: rtltypes.h:1705
ERESOURCE Resource
Definition: rtltypes.h:1444
ACPI_BUFFER *RetBuffer ACPI_BUFFER *RetBuffer char ACPI_WALK_RESOURCE_CALLBACK void *Context ACPI_BUFFER *RetBuffer UINT16 ACPI_RESOURCE **ResourcePtr ACPI_GENERIC_ADDRESS *Reg UINT32 *ReturnValue UINT8 UINT8 *Slp_TypB ACPI_PHYSICAL_ADDRESS PhysicalAddress64 UINT32 UINT32 *TimeElapsed UINT32 ACPI_STATUS const char * Format
Definition: acpixf.h:1196
struct _RTL_TRACE_BLOCK * Next
Definition: rtltypes.h:1754
struct _RTL_PROCESS_BACKTRACES RTL_PROCESS_BACKTRACES