ReactOS  0.4.13-dev-100-gc8611ae
ntddk_ex.h
Go to the documentation of this file.
1 #ifndef __NTDDK_EX__H__
2 #define __NTDDK_EX__H__
3 
4 //#ifndef USE_REACTOS_DDK
5 #ifdef ASSERT
6 #undef ASSERT
7 #define ASSERT(x) ((void)0)
8 #endif //ASSERT
9 //#endif //USE_REACTOS_DDK
10 
11 
12 #if !defined(FILE_CHARACTERISTIC_PNP_DEVICE) || defined(USE_REACTOS_DDK) // DDK 2003
13 
14 #ifndef FILE_CHARACTERISTIC_PNP_DEVICE
15 #define FILE_CHARACTERISTIC_PNP_DEVICE 0x00000800
16 #endif
17 
49 #ifndef USE_REACTOS_DDK
53 #else
57 #endif // USE_REACTOS_DDK
67 #ifdef USE_REACTOS_DDK
69 #elif defined IRP_MN_START_DEVICE
70  SystemPowerInformationInfo,
71 #else
73 #endif // USE_REACTOS_DDK
77 #ifdef USE_REACTOS_DDK
96  SystemExtendedHanfleInformation,
106  SystemWo64SharedInformationObosolete,
131 #endif // USE_REACTOS_DDK
133 
134 #endif // !defined(FILE_CHARACTERISTIC_PNP_DEVICE) || defined(USE_REACTOS_DDK)
135 
136 
137 NTSYSAPI
138 NTSTATUS
139 NTAPI
141  IN SYSTEM_INFORMATION_CLASS SystemInfoClass,
145 );
146 
147 NTSYSAPI
148 NTSTATUS
149 NTAPI
151  IN SYSTEM_INFORMATION_CLASS SystemInfoClass,
155 );
156 
170 
171 typedef struct _SYSTEM_MODULE_ENTRY
172 {
173  ULONG Unused;
174  ULONG Always0;
177  ULONG Unknown;
181  CHAR ModuleName [256];
183 
184 typedef struct _SYSTEM_MODULE_INFORMATION
185 {
186  ULONG Count;
189 
190 typedef unsigned short WORD;
191 #ifndef __REACTOS__
192 typedef unsigned int BOOL;
193 #endif //__REACTOS__
194 typedef unsigned long DWORD;
195 typedef unsigned char BYTE;
196 
197 
198 typedef struct _LDR_DATA_TABLE_ENTRY {
210  union {
212  struct {
214  ULONG CheckSum;
215  };
216  };
219 
220 typedef struct _PEB_LDR_DATA {
228 
229 typedef struct _PEB_FREE_BLOCK {
233 
234 #define GDI_HANDLE_BUFFER_SIZE 34
235 
236 #define TLS_MINIMUM_AVAILABLE 64 // winnt
237 
238 typedef struct _PEB {
239  BOOLEAN InheritedAddressSpace; // These four fields cannot change unless the
243  HANDLE Mutant; // INITIAL_PEB structure is also updated.
244 
260  ULONG TlsBitmapBits[2]; // relates to TLS_MINIMUM_AVAILABLE
267 
268  // Useful information for LdrpInitialize
271 
272  // Passed up from MmCreatePeb from Session Manager registry key
273 
279 
280  // Where heap manager keeps track of all heaps created for a process
281  // Fields initialized by MmCreatePeb. ProcessHeaps is initialized
282  // to point to the first free byte after the PEB and MaximumNumberOfHeaps
283  // is computed from the page size used to hold the PEB, less the fixed
284  // size of this data structure.
285 
289 
290  //
291  //
296 
297  // Following fields filled in by MmCreatePeb from system values and/or
298  // image header.
299 
309 } PEB, *PPEB;
310 
311 //
312 // Gdi command batching
313 //
314 
315 #define GDI_BATCH_BUFFER_SIZE 310
316 
317 typedef struct _GDI_TEB_BATCH {
318  ULONG Offset;
322 
323 //
324 // TEB - The thread environment block
325 //
326 
327 #define STATIC_UNICODE_BUFFER_LENGTH 261
328 #define WIN32_CLIENT_INFO_LENGTH 31
329 #define WIN32_CLIENT_INFO_SPIN_COUNT 1
330 
331 typedef struct _TEB {
341  PVOID Win32ThreadInfo; // PtiCurrent
342  ULONG Win32ClientInfo[WIN32_CLIENT_INFO_LENGTH]; // User32 Client Info
343  PVOID WOW32Reserved; // used by WOW
346  PVOID SystemReserved1[54]; // Used by FP emulator
347  PVOID Spare1; // unused
348  NTSTATUS ExceptionCode; // for RaiseUserException
350  PVOID SystemReserved2[10]; // Used by user/console for temp obja
351  GDI_TEB_BATCH GdiTebBatch; // Gdi batching
352  ULONG gdiRgn;
353  ULONG gdiPen;
354  ULONG gdiBrush;
360  PVOID UserReserved[5]; // unused
361  PVOID glDispatchTable[280]; // OpenGL
362  ULONG glReserved1[26]; // OpenGL
363  PVOID glReserved2; // OpenGL
364  PVOID glSectionInfo; // OpenGL
365  PVOID glSection; // OpenGL
366  PVOID glTable; // OpenGL
367  PVOID glCurrentRC; // OpenGL
368  PVOID glContext; // OpenGL
375  PVOID Vdm;
377  PVOID DbgSsReserved[2];
380  PVOID WinSockData; // WinSock
382  ULONG Spare2;
383  ULONG Spare3;
384  ULONG Spare4;
387 } TEB;
388 typedef TEB *PTEB;
389 
390 typedef struct _KTHREAD_HDR {
391 
392  //
393  // The dispatcher header and mutant listhead are faifly infrequently
394  // referenced, but pad the thread to a 32-byte boundary (assumption
395  // that pool allocation is in units of 32-bytes).
396  //
397 
400 
401  //
402  // The following fields are referenced during trap, interrupts, or
403  // context switches.
404  //
405  // N.B. The Teb address and TlsArray are loaded as a quadword quantity
406  // on MIPS and therefore must to on a quadword boundary.
407  //
408 
421 /* KAPC_STATE ApcState;
422  ULONG ContextSwitches;
423 
424  //
425  // The following fields are referenced during wait operations.
426  //
427 
428  NTSTATUS WaitStatus;
429  KIRQL WaitIrql;
430  KPROCESSOR_MODE WaitMode;
431  BOOLEAN WaitNext;
432  UCHAR WaitReason;
433  PRKWAIT_BLOCK WaitBlockList;
434  LIST_ENTRY WaitListEntry;
435  ULONG WaitTime;
436  SCHAR BasePriority;
437  UCHAR DecrementCount;
438  SCHAR PriorityDecrement;
439  SCHAR Quantum;
440  KWAIT_BLOCK WaitBlock[THREAD_WAIT_OBJECTS + 1];
441  PVOID LegoData;
442  ULONG KernelApcDisable;
443  KAFFINITY UserAffinity;
444  BOOLEAN SystemAffinityActive;
445  UCHAR Pad[3];
446  PVOID ServiceTable;
447 // struct _ECHANNEL *Channel;
448 // PVOID Section;
449 // PCHANNEL_MESSAGE SystemView;
450 // PCHANNEL_MESSAGE ThreadView;
451 
452  //
453  // The following fields are referenced during queue operations.
454  //
455 
456  PRKQUEUE Queue;
457  KSPIN_LOCK ApcQueueLock;
458  KTIMER Timer;
459  LIST_ENTRY QueueListEntry;
460 
461  //
462  // The following fields are referenced during read and find ready
463  // thread.
464  //
465 
466  KAFFINITY Affinity;
467  BOOLEAN Preempted;
468  BOOLEAN ProcessReadyQueue;
469  BOOLEAN KernelStackResident;
470  UCHAR NextProcessor;
471 
472  //
473  // The following fields are referenced suring system calls.
474  //
475 
476  PVOID CallbackStack;
477  PVOID Win32Thread;
478  PKTRAP_FRAME TrapFrame;
479  PKAPC_STATE ApcStatePointer[2];
480  UCHAR EnableStackSwap;
481  UCHAR LargeStack;
482  UCHAR ResourceIndex;
483  CCHAR PreviousMode;
484 
485  //
486  // The following entries are reference during clock interrupts.
487  //
488 
489  ULONG KernelTime;
490  ULONG UserTime;
491 
492  //
493  // The following fileds are referenced during APC queuing and process
494  // attach/detach.
495  //
496 
497  KAPC_STATE SavedApcState;
498  BOOLEAN Alertable;
499  UCHAR ApcStateIndex;
500  BOOLEAN ApcQueueable;
501  BOOLEAN AutoAlignment;
502 
503  //
504  // The following fields are referenced when the thread is initialized
505  // and very infrequently thereafter.
506  //
507 
508  PVOID StackBase;
509  KAPC SuspendApc;
510  KSEMAPHORE SuspendSemaphore;
511  LIST_ENTRY ThreadListEntry;
512 
513  //
514  // N.B. The below four UCHARs share the same DWORD and are modified
515  // by other threads. Therefore, they must ALWAYS be modified
516  // under the dispatcher lock to prevent granularity problems
517  // on Alpha machines.
518  //
519  CCHAR FreezeCount;
520  CCHAR SuspendCount;
521  UCHAR IdealProcessor;
522  UCHAR DisableBoost;
523 */
525 
526 #ifndef __REACTOS__
527 typedef struct _IMAGE_DOS_HEADER { // DOS .EXE header
528  WORD e_magic; // Magic number
529  WORD e_cblp; // Bytes on last page of file
530  WORD e_cp; // Pages in file
531  WORD e_crlc; // Relocations
532  WORD e_cparhdr; // Size of header in paragraphs
533  WORD e_minalloc; // Minimum extra paragraphs needed
534  WORD e_maxalloc; // Maximum extra paragraphs needed
535  WORD e_ss; // Initial (relative) SS value
536  WORD e_sp; // Initial SP value
537  WORD e_csum; // Checksum
538  WORD e_ip; // Initial IP value
539  WORD e_cs; // Initial (relative) CS value
540  WORD e_lfarlc; // File address of relocation table
541  WORD e_ovno; // Overlay number
542  WORD e_res[4]; // Reserved words
543  WORD e_oemid; // OEM identifier (for e_oeminfo)
544  WORD e_oeminfo; // OEM information; e_oemid specific
545  WORD e_res2[10]; // Reserved words
546  LONG e_lfanew; // File address of new exe header
548 
549 typedef struct _IMAGE_FILE_HEADER {
550  WORD Machine;
558 
559 typedef struct _IMAGE_DATA_DIRECTORY {
561  DWORD Size;
563 #define IMAGE_NUMBEROF_DIRECTORY_ENTRIES 16
564 
565 
566 typedef struct _IMAGE_OPTIONAL_HEADER {
567  //
568  // Standard fields.
569  //
570 
571  WORD Magic;
580 
581  //
582  // NT additional fields.
583  //
584 
597  DWORD CheckSum;
598  WORD Subsystem;
608 
609 typedef struct _IMAGE_NT_HEADERS {
616 
617 #define IMAGE_DIRECTORY_ENTRY_EXPORT 0 // Export Directory
618 
619 typedef struct _IMAGE_EXPORT_DIRECTORY {
624  DWORD Name;
625  DWORD Base;
628  DWORD AddressOfFunctions; // RVA from base of image
629  DWORD AddressOfNames; // RVA from base of image
630  DWORD AddressOfNameOrdinals; // RVA from base of image
632 #endif
633 
634 NTHALAPI
635 VOID
636 NTAPI
638  PUCHAR String
639  );
640 
641 NTHALAPI
642 VOID
643 NTAPI
645  OUT PULONG WidthInCharacters,
646  OUT PULONG HeightInLines,
647  OUT PULONG CursorColumn,
648  OUT PULONG CursorRow
649  );
650 
651 NTHALAPI
652 VOID
653 NTAPI
655  IN ULONG CursorColumn,
656  IN ULONG CursorRow
657  );
658 
659 extern ULONG NtBuildNumber;
660 
661 #endif //__NTDDK_EX__H__
struct _IMAGE_OPTIONAL_HEADER IMAGE_OPTIONAL_HEADER32
ULONG gdiBrush
Definition: compat.h:509
enum _SYSTEM_INFORMATION_CLASS SYSTEM_INFORMATION_CLASS
PVOID glCurrentRC
Definition: compat.h:522
LIST_ENTRY MemoryOrder
Definition: ntddk_ex.h:225
BOOLEAN Initialized
Definition: ntddk_ex.h:222
_SYSTEM_INFORMATION_CLASS
Definition: ntddk_ex.h:10
PVOID EnvironmentPointer
Definition: compat.h:487
ULONG ImageSubsystemMajorVersion
Definition: ntddk_ex.h:305
ULONG gdiRgn
Definition: compat.h:507
PVOID WOW32Reserved
Definition: compat.h:497
#define IN
Definition: typedefs.h:38
#define IMAGE_NUMBEROF_DIRECTORY_ENTRIES
Definition: ntddk_ex.h:563
ULONG glReserved1[26]
Definition: compat.h:517
LIST_ENTRY InitializationOrder
Definition: ntddk_ex.h:226
ULONG Win32ClientInfo[31]
Definition: compat.h:496
WCHAR StaticUnicodeBuffer[261]
Definition: compat.h:526
PVOID Instrumentation[16]
Definition: compat.h:534
ULONG HeapSegmentReserve
Definition: ntddk_ex.h:275
PVOID FastPebUnlockRoutine
Definition: ntddk_ex.h:252
NTSYSAPI NTSTATUS NTAPI NtQuerySystemInformation(IN SYSTEM_INFORMATION_CLASS SystemInfoClass, OUT PVOID SystemInfoBuffer, IN ULONG SystemInfoBufferSize, OUT PULONG BytesReturned OPTIONAL)
PVOID SubSystemData
Definition: ntddk_ex.h:248
IMAGE_DATA_DIRECTORY DataDirectory[IMAGE_NUMBEROF_DIRECTORY_ENTRIES]
Definition: ntddk_ex.h:178
PPEB ProcessEnvironmentBlock
Definition: ntddk_ex.h:337
USHORT ModuleNameOffset
Definition: ntddk_ex.h:83
ULONG ImageProcessAffinityMask
Definition: ntddk_ex.h:307
PVOID glReserved2
Definition: compat.h:518
ULONG ModuleEntryIndex
Definition: ntddk_ex.h:81
LIST_ENTRY TlsLinks
Definition: compat.h:529
#define NTHALAPI
Definition: ntoskrnl.h:39
PVOID Win32ThreadInfo
Definition: compat.h:495
#define GDI_HANDLE_BUFFER_SIZE
Definition: ntddk_ex.h:234
ULONG OSPlatformId
Definition: ntddk_ex.h:303
PVOID glContext
Definition: compat.h:523
PVOID CsrClientThread
Definition: compat.h:494
struct _KTHREAD_HDR KTHREAD_HDR
ULONG HardErrorsAreDisabled
Definition: ntddk_ex.h:378
unsigned char * PUCHAR
Definition: retypes.h:3
char CHAR
Definition: xmlstorage.h:175
LONG NTSTATUS
Definition: precomp.h:26
PVOID ReadOnlySharedMemoryHeap
Definition: ntddk_ex.h:262
PVOID EventLog
Definition: ntddk_ex.h:256
LIST_ENTRY InitializationOrder
Definition: ntddk_ex.h:201
struct _IMAGE_NT_HEADERS IMAGE_NT_HEADERS32
PVOID ActiveRpcHandle
Definition: compat.h:489
#define STATIC_UNICODE_BUFFER_LENGTH
Definition: ntddk_ex.h:327
BOOLEAN BeingDebugged
Definition: ntddk_ex.h:241
BOOLEAN DebugActive
Definition: ntddk_ex.h:414
PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS
Definition: ntddk_ex.h:187
ULONG ModuleSize
Definition: ntddk_ex.h:204
static WCHAR String[]
Definition: stringtable.c:55
DWORD LCID
Definition: nls.h:13
WORD MinorOperatingSystemVersion
Definition: ntddk_ex.h:161
PVOID KernelStack
Definition: ntddk_ex.h:413
PPEB_FREE_BLOCK FreeList
Definition: ntddk_ex.h:257
PVOID ModuleBaseAddress
Definition: ntddk_ex.h:202
IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS
Definition: ntddk_ex.h:186
ULONG WaitingOnLoaderLock
Definition: compat.h:541
#define NTSYSAPI
Definition: ntoskrnl.h:14
PVOID ModuleBaseAddress
Definition: ntddk_ex.h:78
PVOID WinSockData
Definition: compat.h:535
IMAGE_OPTIONAL_HEADER32 OptionalHeader
Definition: ntddk_ex.h:184
PVOID Teb
Definition: ntddk_ex.h:411
DWORD AddressOfNameOrdinals
Definition: compat.h:155
WORD MajorOperatingSystemVersion
Definition: ntddk_ex.h:160
CLIENT_ID ClientId
Definition: compat.h:488
HANDLE GdiCachedProcessHandle
Definition: compat.h:511
ULONG HeapDeCommitFreeBlockThreshold
Definition: ntddk_ex.h:278
#define GDI_BATCH_BUFFER_SIZE
Definition: ntddk_ex.h:315
PVOID ImageBaseAddress
Definition: ntddk_ex.h:245
ULONG NtGlobalFlag
Definition: ntddk_ex.h:270
UNICODE_STRING StaticUnicodeString
Definition: compat.h:525
PVOID GdiSharedHandleTable
Definition: ntddk_ex.h:292
PVOID ThreadLocalStoragePointer
Definition: compat.h:490
HANDLE Mutant
Definition: ntddk_ex.h:243
LIST_ENTRY LoadOrder
Definition: ntddk_ex.h:199
USHORT TlsIndex
Definition: ntddk_ex.h:209
BYTE SpareBytes1[36]
Definition: compat.h:504
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
ULONG GdiClientTID
Definition: compat.h:513
NTHALAPI VOID NTAPI HalQueryDisplayParameters(OUT PULONG WidthInCharacters, OUT PULONG HeightInLines, OUT PULONG CursorColumn, OUT PULONG CursorRow)
Definition: display.c:43
UCHAR Iopl
Definition: ntddk_ex.h:417
struct _IMAGE_NT_HEADERS * PIMAGE_NT_HEADERS32
ULONG GdiClientPID
Definition: compat.h:512
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
DWORD SizeOfUninitializedData
Definition: ntddk_ex.h:148
PVOID EntryPoint
Definition: ntddk_ex.h:203
ULONG CountOfOwnedCriticalSections
Definition: compat.h:493
ULONG TlsExpansionCounter
Definition: ntddk_ex.h:258
struct _LDR_DATA_TABLE_ENTRY * PLDR_DATA_TABLE_ENTRY
NTSYSAPI NTSTATUS NTAPI ZwQuerySystemInformation(IN SYSTEM_INFORMATION_CLASS SystemInfoClass, OUT PVOID SystemInfoBuffer, IN ULONG SystemInfoBufferSize, OUT PULONG BytesReturned OPTIONAL)
ULONG Spare4
Definition: compat.h:539
LIST_ENTRY LoadOrder
Definition: ntddk_ex.h:224
unsigned char BOOLEAN
struct _IMAGE_DOS_HEADER * PIMAGE_DOS_HEADER
ULONG NumberOfHeaps
Definition: ntddk_ex.h:286
BOOLEAN ReadImageFileExecOptions
Definition: ntddk_ex.h:240
WORD SizeOfOptionalHeader
Definition: ntddk_ex.h:127
Definition: bufpool.h:45
PVOID glDispatchTable[280]
Definition: compat.h:516
struct _SYSTEM_MODULE_INFORMATION * PSYSTEM_MODULE_INFORMATION
struct _PEB PEB
IMAGE_FILE_HEADER FileHeader
Definition: ntddk_ex.h:183
ULONG Length
Definition: ntddk_ex.h:221
BOOLEAN Alerted[MaximumMode]
Definition: ntddk_ex.h:416
HANDLE SsHandle
Definition: ntddk_ex.h:223
PVOID TlsArray
Definition: ntddk_ex.h:412
PVOID Spare1
Definition: compat.h:501
PVOID KernelCallbackTable
Definition: ntddk_ex.h:254
ULONG HeapSegmentCommit
Definition: ntddk_ex.h:276
ULONG TimeStamp
Definition: ntddk_ex.h:217
struct _PEB_LDR_DATA PEB_LDR_DATA
#define WIN32_CLIENT_INFO_LENGTH
Definition: ntddk_ex.h:328
struct _PEB_FREE_BLOCK * PPEB_FREE_BLOCK
Definition: ntddk_ex.h:74
DWORD NumberOfSymbols
Definition: ntddk_ex.h:126
PVOID * ProcessHeaps
Definition: ntddk_ex.h:288
ULONG MaximumNumberOfHeaps
Definition: ntddk_ex.h:287
__wchar_t WCHAR
Definition: xmlstorage.h:180
PVOID DeallocationStack
Definition: compat.h:527
char CCHAR
Definition: typedefs.h:50
struct _SYSTEM_MODULE_ENTRY * PSYSTEM_MODULE_ENTRY
struct _IMAGE_FILE_HEADER * PIMAGE_FILE_HEADER
LCID CurrentLocale
Definition: ntddk_ex.h:344
struct _LDR_DATA_TABLE_ENTRY LDR_DATA_TABLE_ENTRY
CHAR ModuleName[256]
Definition: ntddk_ex.h:84
ULONG CheckSum
Definition: btrfs_drv.h:1811
CLIENT_ID RealClientId
Definition: compat.h:510
PVOID DbgSsReserved[2]
Definition: compat.h:532
struct _IMAGE_EXPORT_DIRECTORY IMAGE_EXPORT_DIRECTORY
struct _IMAGE_DATA_DIRECTORY IMAGE_DATA_DIRECTORY
PVOID ProcessHeap
Definition: ntddk_ex.h:249
signed char SCHAR
Definition: sqltypes.h:14
unsigned short WORD
Definition: ntddk_ex.h:93
unsigned long DWORD
Definition: ntddk_ex.h:95
ULONG Unused
Definition: ntddk_ex.h:76
PVOID ProcessStarterHelper
Definition: ntddk_ex.h:293
struct _IMAGE_DATA_DIRECTORY * PIMAGE_DATA_DIRECTORY
LARGE_INTEGER CriticalSectionTimeout
Definition: ntddk_ex.h:274
NTHALAPI VOID NTAPI HalSetDisplayParameters(IN ULONG CursorColumn, IN ULONG CursorRow)
Definition: display.c:57
LIST_ENTRY Hash
Definition: ntddk_ex.h:211
BOOLEAN SpareBool
Definition: ntddk_ex.h:242
struct _TEB TEB
SYSTEM_MODULE_ENTRY Module[1]
Definition: ntddk_ex.h:90
struct _GDI_TEB_BATCH * PGDI_TEB_BATCH
ULONG NtBuildNumber
Definition: init.c:47
ULONG FpSoftwareStatusRegister
Definition: compat.h:499
NTSTATUS ExceptionCode
Definition: ntddk_ex.h:348
WORD e_res2[10]
Definition: ntddk_ex.h:117
GDI_TEB_BATCH GdiTebBatch
Definition: compat.h:506
unsigned char UCHAR
Definition: xmlstorage.h:181
PVOID FastPebLock
Definition: ntddk_ex.h:250
ULONG OSBuildNumber
Definition: ntddk_ex.h:302
ULONG GdiBatchCount
Definition: compat.h:536
ULONG Always0
Definition: ntddk_ex.h:77
PVOID SystemReserved2[10]
Definition: compat.h:505
OUT PVOID SystemInfoBuffer
Definition: CrossNt.h:78
struct _IMAGE_OPTIONAL_HEADER * PIMAGE_OPTIONAL_HEADER32
ULONG ModuleSize
Definition: ntddk_ex.h:79
Definition: btrfs_drv.h:1801
unsigned char BYTE
Definition: mem.h:68
Definition: typedefs.h:117
NTHALAPI VOID NTAPI HalDisplayString(PUCHAR String)
struct _RTL_USER_PROCESS_PARAMETERS * ProcessParameters
Definition: ntddk_ex.h:247
PVOID UnicodeCaseTableData
Definition: ntddk_ex.h:266
PVOID GdiDCAttributeList
Definition: ntddk_ex.h:294
LIST_ENTRY MemoryOrder
Definition: ntddk_ex.h:200
PVOID LoaderLock
Definition: ntddk_ex.h:295
PVOID glSection
Definition: compat.h:520
struct _IMAGE_DOS_HEADER IMAGE_DOS_HEADER
SCHAR Priority
Definition: ntddk_ex.h:420
OUT PVOID IN ULONG SystemInfoBufferSize
Definition: CrossNt.h:78
PVOID UserReserved[5]
Definition: compat.h:515
PVOID SectionPointer
Definition: ntddk_ex.h:213
LIST_ENTRY MutantListHead
Definition: ntddk_ex.h:399
Definition: compat.h:484
ULONG Offset
Definition: compat.h:480
ULONG HeapDeCommitTotalFreeThreshold
Definition: ntddk_ex.h:277
ULONG OSMinorVersion
Definition: ntddk_ex.h:301
KAFFINITY ActiveProcessorsAffinityMask
Definition: ntddk_ex.h:167
ULONG Spare3
Definition: compat.h:538
UNICODE_STRING ModuleName
Definition: ntddk_ex.h:206
unsigned short USHORT
Definition: pedump.c:61
ULONG_PTR KAFFINITY
Definition: compat.h:75
PVOID ReservedForOle
Definition: compat.h:540
PPEB_LDR_DATA Ldr
Definition: btrfs_drv.h:1837
DWORD PointerToSymbolTable
Definition: ntddk_ex.h:125
PVOID SystemReserved1[54]
Definition: compat.h:500
_In_ FILTER_INFORMATION_CLASS _In_ ULONG _Out_ PULONG BytesReturned
Definition: fltkernel.h:1716
ULONG NumberOfProcessors
Definition: ntddk_ex.h:269
TEB * PTEB
Definition: ntddk_ex.h:388
unsigned int * PULONG
Definition: retypes.h:1
struct _SYSTEM_BASIC_INFORMATION SYSTEM_BASIC_INFORMATION
struct _PEB_FREE_BLOCK PEB_FREE_BLOCK
struct _PEB_LDR_DATA * PPEB_LDR_DATA
ULONG TlsBitmapBits[2]
Definition: ntddk_ex.h:260
UCHAR NpxState
Definition: ntddk_ex.h:418
struct _GDI_TEB_BATCH GDI_TEB_BATCH
PVOID InitialStack
Definition: ntddk_ex.h:409
struct _SYSTEM_BASIC_INFORMATION * PSYSTEM_BASIC_INFORMATION
PVOID OemCodePageData
Definition: ntddk_ex.h:265
struct _IMAGE_FILE_HEADER IMAGE_FILE_HEADER
#define OUT
Definition: typedefs.h:39
ULONG Flags
Definition: ntddk_ex.h:207
PVOID StackLimit
Definition: ntddk_ex.h:410
PVOID glSectionInfo
Definition: compat.h:519
ULONG LastErrorValue
Definition: compat.h:492
unsigned int ULONG
Definition: retypes.h:1
ULONG Unknown
Definition: ntddk_ex.h:80
struct _SYSTEM_MODULE_ENTRY SYSTEM_MODULE_ENTRY
PVOID ReadOnlySharedMemoryBase
Definition: ntddk_ex.h:261
PVOID * ReadOnlyStaticServerData
Definition: ntddk_ex.h:263
struct _SYSTEM_MODULE_INFORMATION SYSTEM_MODULE_INFORMATION
HANDLE EventLogSection
Definition: ntddk_ex.h:255
PVOID TlsSlots[64]
Definition: compat.h:528
DISPATCHER_HEADER Header
Definition: ntddk_ex.h:398
PVOID GdiThreadLocalInfo
Definition: ntddk_ex.h:359
ULONG EnvironmentUpdateCount
Definition: ntddk_ex.h:253
ULONG OSMajorVersion
Definition: ntddk_ex.h:300
BOOLEAN InheritedAddressSpace
Definition: ntddk_ex.h:239
PVOID FastPebLockRoutine
Definition: ntddk_ex.h:251
struct _PEB * PPEB
ULONG GdiHandleBuffer[GDI_HANDLE_BUFFER_SIZE]
Definition: ntddk_ex.h:308
ULONG gdiPen
Definition: compat.h:508
USHORT ModuleNameLength
Definition: ntddk_ex.h:82
struct _PEB_FREE_BLOCK * Next
Definition: ntddk_ex.h:230
unsigned char BYTE
Definition: ntddk_ex.h:96
ULONG Spare2
Definition: compat.h:537
PVOID TlsBitmap
Definition: ntddk_ex.h:259
struct _IMAGE_EXPORT_DIRECTORY * PIMAGE_EXPORT_DIRECTORY
PVOID ReservedForNtRpc
Definition: compat.h:531
PVOID glTable
Definition: compat.h:521
ULONG LastStatusValue
Definition: compat.h:524
NT_TIB NtTib
Definition: ntddk_ex.h:332
PVOID AnsiCodePageData
Definition: ntddk_ex.h:264
PVOID Vdm
Definition: compat.h:530
UNICODE_STRING FullModuleName
Definition: ntddk_ex.h:205
ULONG ImageSubsystemMinorVersion
Definition: ntddk_ex.h:306
USHORT LoadCount
Definition: ntddk_ex.h:208
#define TLS_MINIMUM_AVAILABLE
Definition: ntddk_ex.h:236
UCHAR State
Definition: ntddk_ex.h:415
ULONG ImageSubsystem
Definition: ntddk_ex.h:304
BOOLEAN Saturation
Definition: ntddk_ex.h:419
struct _KTHREAD_HDR * PKTHREAD_HDR
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68