ReactOS  0.4.12-dev-75-g00dd17e
ntimage.h
Go to the documentation of this file.
1 #ifndef _NTIMAGE_
2 #define _NTIMAGE_
3 
4 //
5 // Image Formats
6 //
7 #define IMAGE_DOS_SIGNATURE 0x5A4D
8 #define IMAGE_OS2_SIGNATURE 0x454E
9 #define IMAGE_OS2_SIGNATURE_LE 0x454C
10 #define IMAGE_VXD_SIGNATURE 0x454C
11 #define IMAGE_NT_SIGNATURE 0x00004550
12 
13 //
14 // Image architectures
15 //
16 #define IMAGE_FILE_MACHINE_AM33 0x1d3
17 #define IMAGE_FILE_MACHINE_AMD64 0x8664
18 #define IMAGE_FILE_MACHINE_ARM 0x1c0
19 #define IMAGE_FILE_MACHINE_ARMV7 0x1c4
20 #define IMAGE_FILE_MACHINE_EBC 0xebc
21 #define IMAGE_FILE_MACHINE_I386 0x14c
22 #define IMAGE_FILE_MACHINE_IA64 0x200
23 #define IMAGE_FILE_MACHINE_M32R 0x9041
24 #define IMAGE_FILE_MACHINE_MIPS16 0x266
25 #define IMAGE_FILE_MACHINE_MIPSFPU 0x366
26 #define IMAGE_FILE_MACHINE_MIPSFPU16 0x466
27 #define IMAGE_FILE_MACHINE_POWERPC 0x1f0
28 #define IMAGE_FILE_MACHINE_POWERPCFP 0x1f1
29 #define IMAGE_FILE_MACHINE_R4000 0x166
30 #define IMAGE_FILE_MACHINE_SH3 0x1a2
31 #define IMAGE_FILE_MACHINE_SH3E 0x01a4
32 #define IMAGE_FILE_MACHINE_SH3DSP 0x1a3
33 #define IMAGE_FILE_MACHINE_SH4 0x1a6
34 #define IMAGE_FILE_MACHINE_SH5 0x1a8
35 #define IMAGE_FILE_MACHINE_THUMB 0x1c2
36 #define IMAGE_FILE_MACHINE_WCEMIPSV2 0x169
37 #define IMAGE_FILE_MACHINE_R3000 0x162
38 #define IMAGE_FILE_MACHINE_R10000 0x168
39 #define IMAGE_FILE_MACHINE_ALPHA 0x184
40 #define IMAGE_FILE_MACHINE_ALPHA64 0x0284
41 #define IMAGE_FILE_MACHINE_AXP64 IMAGE_FILE_MACHINE_ALPHA64
42 #define IMAGE_FILE_MACHINE_CEE 0xC0EE
43 #define IMAGE_FILE_MACHINE_TRICORE 0x0520
44 #define IMAGE_FILE_MACHINE_CEF 0x0CEF
45 
46 
47 //
48 // DOS Image Header Format
49 //
50 #include <pshpack2.h>
51 typedef struct _IMAGE_DOS_HEADER {
70  LONG e_lfanew;
72 #include <poppack.h>
73 
74 //
75 // Export/Import Format
76 //
77 #include <pshpack4.h>
78 typedef struct _IMAGE_EXPORT_DIRECTORY {
91 
92 //
93 // Resource Data Entry Format
94 //
95 typedef struct _IMAGE_RESOURCE_DATA_ENTRY {
101 
102 //
103 // Load Configuration Directory Entry Format
104 //
105 typedef struct {
127 
128 typedef struct {
150 
151 #ifdef _WIN64
153 typedef PIMAGE_LOAD_CONFIG_DIRECTORY64 PIMAGE_LOAD_CONFIG_DIRECTORY;
154 #else
156 typedef PIMAGE_LOAD_CONFIG_DIRECTORY32 PIMAGE_LOAD_CONFIG_DIRECTORY;
157 #endif
158 
159 //
160 // Base Relocation Format
161 //
162 typedef struct _IMAGE_BASE_RELOCATION {
166 
167 //
168 // Resource Format
169 //
170 typedef struct _IMAGE_RESOURCE_DIRECTORY {
178 
179 #define IMAGE_RESOURCE_NAME_IS_STRING 0x80000000
180 #define IMAGE_RESOURCE_DATA_IS_DIRECTORY 0x80000000
181 
182 typedef struct _IMAGE_RESOURCE_DIRECTORY_ENTRY {
183  _ANONYMOUS_UNION union {
184  _ANONYMOUS_STRUCT struct {
187  } DUMMYSTRUCTNAME;
190  } DUMMYUNIONNAME;
191  _ANONYMOUS_UNION union {
193  _ANONYMOUS_STRUCT struct {
197  } DUMMYUNIONNAME2;
199 
200 typedef struct _IMAGE_RESOURCE_DIRECTORY_STRING {
202  CHAR NameString[ANYSIZE_ARRAY];
204 
205 //
206 // Section Header Format
207 //
208 #define IMAGE_SIZEOF_SHORT_NAME 8
209 #define IMAGE_SIZEOF_SECTION_HEADER 40
210 
211 typedef struct _IMAGE_SECTION_HEADER {
213  union {
216  } Misc;
226 
227 //
228 // Section Characteristics
229 //
230 #define IMAGE_SCN_CNT_CODE 0x00000020
231 #define IMAGE_SCN_CNT_INITIALIZED_DATA 0x00000040
232 #define IMAGE_SCN_CNT_UNINITIALIZED_DATA 0x00000080
233 
234 #define IMAGE_SCN_LNK_NRELOC_OVFL 0x01000000
235 #define IMAGE_SCN_MEM_DISCARDABLE 0x02000000
236 #define IMAGE_SCN_MEM_NOT_CACHED 0x04000000
237 #define IMAGE_SCN_MEM_NOT_PAGED 0x08000000
238 #define IMAGE_SCN_MEM_SHARED 0x10000000
239 #define IMAGE_SCN_MEM_EXECUTE 0x20000000
240 #define IMAGE_SCN_MEM_READ 0x40000000
241 #define IMAGE_SCN_MEM_WRITE 0x80000000
242 
243 //
244 // File Header Format
245 //
246 #define IMAGE_SIZEOF_FILE_HEADER 20
247 
248 typedef struct _IMAGE_FILE_HEADER {
257 
258 //
259 // File Characteristics
260 //
261 #define IMAGE_FILE_RELOCS_STRIPPED 0x0001
262 #define IMAGE_FILE_EXECUTABLE_IMAGE 0x0002
263 #define IMAGE_FILE_LINE_NUMS_STRIPPED 0x0004
264 #define IMAGE_FILE_LOCAL_SYMS_STRIPPED 0x0008
265 #define IMAGE_FILE_AGGRESIVE_WS_TRIM 0x0010
266 #define IMAGE_FILE_LARGE_ADDRESS_AWARE 0x0020
267 #define IMAGE_FILE_BYTES_REVERSED_LO 0x0080
268 #define IMAGE_FILE_32BIT_MACHINE 0x0100
269 #define IMAGE_FILE_DEBUG_STRIPPED 0x0200
270 #define IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP 0x0400
271 #define IMAGE_FILE_NET_RUN_FROM_SWAP 0x0800
272 #define IMAGE_FILE_SYSTEM 0x1000
273 #define IMAGE_FILE_DLL 0x2000
274 #define IMAGE_FILE_UP_SYSTEM_ONLY 0x4000
275 #define IMAGE_FILE_BYTES_REVERSED_HI 0x8000
276 
277 //
278 // Directory format.
279 //
280 #define IMAGE_NUMBEROF_DIRECTORY_ENTRIES 16
281 
282 typedef struct _IMAGE_DATA_DIRECTORY {
286 
287 //
288 // Optional Header Formats
289 //
290 typedef struct _IMAGE_OPTIONAL_HEADER {
323 
336  ULONG CprMask[4];
339 
340 typedef struct _IMAGE_OPTIONAL_HEADER64 {
372 
373 //
374 // Format Identifier Magics
375 //
376 #define IMAGE_NT_OPTIONAL_HDR32_MAGIC 0x10b
377 #define IMAGE_NT_OPTIONAL_HDR64_MAGIC 0x20b
378 #define IMAGE_ROM_OPTIONAL_HDR_MAGIC 0x107
379 
380 #ifdef _WIN64
382 typedef PIMAGE_OPTIONAL_HEADER64 PIMAGE_OPTIONAL_HEADER;
383 #define IMAGE_NT_OPTIONAL_HDR_MAGIC IMAGE_NT_OPTIONAL_HDR64_MAGIC
384 #else
386 typedef PIMAGE_OPTIONAL_HEADER32 PIMAGE_OPTIONAL_HEADER;
387 #define IMAGE_NT_OPTIONAL_HDR_MAGIC IMAGE_NT_OPTIONAL_HDR32_MAGIC
388 #endif
389 
390 //
391 // Nt Header Formats
392 //
393 typedef struct _IMAGE_NT_HEADERS64 {
398 
399 typedef struct _IMAGE_NT_HEADERS {
401  IMAGE_FILE_HEADER FileHeader;
402  IMAGE_OPTIONAL_HEADER32 OptionalHeader;
404 
405 #ifdef _WIN64
407 #else
409 #endif
410 
411 #ifndef _NTDDK_
412 
415 
416 #ifdef _WIN64
417 typedef PIMAGE_NT_HEADERS64 PIMAGE_NT_HEADERS;
418 #else
419 typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS;
420 #endif
421 
422 #endif /* _NTDDK_ */
423 
424 //
425 // Retreives the first image section header from the Nt Header
426 //
427 #define IMAGE_FIRST_SECTION( NtHeader ) \
428  ((PIMAGE_SECTION_HEADER) ((ULONG_PTR)(NtHeader) + \
429  FIELD_OFFSET( IMAGE_NT_HEADERS, OptionalHeader ) + \
430  ((NtHeader))->FileHeader.SizeOfOptionalHeader))
431 
432 //
433 // Subsystems
434 //
435 #define IMAGE_SUBSYSTEM_UNKNOWN 0
436 #define IMAGE_SUBSYSTEM_NATIVE 1
437 #define IMAGE_SUBSYSTEM_WINDOWS_GUI 2
438 #define IMAGE_SUBSYSTEM_WINDOWS_CUI 3
439 #define IMAGE_SUBSYSTEM_OS2_CUI 5
440 #define IMAGE_SUBSYSTEM_POSIX_CUI 7
441 #define IMAGE_SUBSYSTEM_NATIVE_WINDOWS 8
442 #define IMAGE_SUBSYSTEM_WINDOWS_CE_GUI 9
443 #define IMAGE_SUBSYSTEM_EFI_APPLICATION 10
444 #define IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER 11
445 #define IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 12
446 #define IMAGE_SUBSYSTEM_EFI_ROM 13
447 #define IMAGE_SUBSYSTEM_XBOX 14
448 #define IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION 16
449 #define IMAGE_SUBSYSTEM_XBOX_CODE_CATALOG 17
450 
451 //
452 // Dll Characteristics
453 //
454 #define IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA 0x0020
455 #define IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE 0x0040
456 #define IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY 0x0080
457 #define IMAGE_DLLCHARACTERISTICS_NX_COMPAT 0x0100
458 #define IMAGE_DLLCHARACTERISTICS_NO_ISOLATION 0x0200
459 #define IMAGE_DLLCHARACTERISTICS_NO_SEH 0x0400
460 #define IMAGE_DLLCHARACTERISTICS_NO_BIND 0x0800
461 #define IMAGE_DLLCHARACTERISTICS_APPCONTAINER 0x1000
462 #define IMAGE_DLLCHARACTERISTICS_WDM_DRIVER 0x2000
463 #define IMAGE_DLLCHARACTERISTICS_GUARD_CF 0x4000
464 #define IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE 0x8000
465 
466 //
467 // Loader Flags
468 //
469 #define IMAGE_LOADER_FLAGS_COMPLUS 0x00000001
470 #define IMAGE_LOADER_FLAGS_SYSTEM_GLOBAL 0x01000000
471 
472 //
473 // Directory Entry Specifiers
474 //
475 #define IMAGE_DIRECTORY_ENTRY_EXPORT 0
476 #define IMAGE_DIRECTORY_ENTRY_IMPORT 1
477 #define IMAGE_DIRECTORY_ENTRY_RESOURCE 2
478 #define IMAGE_DIRECTORY_ENTRY_EXCEPTION 3
479 #define IMAGE_DIRECTORY_ENTRY_SECURITY 4
480 #define IMAGE_DIRECTORY_ENTRY_BASERELOC 5
481 #define IMAGE_DIRECTORY_ENTRY_DEBUG 6
482 #define IMAGE_DIRECTORY_ENTRY_ARCHITECTURE 7
483 #define IMAGE_DIRECTORY_ENTRY_GLOBALPTR 8
484 #define IMAGE_DIRECTORY_ENTRY_TLS 9
485 #define IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG 10
486 #define IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT 11
487 #define IMAGE_DIRECTORY_ENTRY_IAT 12
488 #define IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT 13
489 #define IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR 14
490 
491 //
492 // Import Formats
493 //
494 typedef struct _IMAGE_IMPORT_BY_NAME {
498 
499 #include <pshpack8.h>
500 typedef struct _IMAGE_THUNK_DATA64 {
501  union {
506  } u1;
508 #include <poppack.h>
509 
510 typedef struct _IMAGE_THUNK_DATA32 {
511  union {
516  } u1;
518 
519 #define IMAGE_ORDINAL_FLAG64 0x8000000000000000ULL
520 #define IMAGE_ORDINAL_FLAG32 0x80000000
521 #define IMAGE_ORDINAL64(Ordinal) (Ordinal & 0xffff)
522 #define IMAGE_ORDINAL32(Ordinal) (Ordinal & 0xffff)
523 #define IMAGE_SNAP_BY_ORDINAL64(Ordinal) ((Ordinal & IMAGE_ORDINAL_FLAG64) != 0)
524 #define IMAGE_SNAP_BY_ORDINAL32(Ordinal) ((Ordinal & IMAGE_ORDINAL_FLAG32) != 0)
525 
526 //
527 // Thread Local Storage (TLS)
528 //
529 typedef
530 VOID
532  PVOID DllHandle,
533  ULONG Reason,
534  PVOID Reserved);
535 
536 typedef struct _IMAGE_TLS_DIRECTORY64 {
544 
545 typedef struct _IMAGE_TLS_DIRECTORY32 {
553 
554 #ifdef _WIN64
555 #define IMAGE_ORDINAL_FLAG IMAGE_ORDINAL_FLAG64
556 #define IMAGE_ORDINAL(Ordinal) IMAGE_ORDINAL64(Ordinal)
558 typedef PIMAGE_THUNK_DATA64 PIMAGE_THUNK_DATA;
559 #define IMAGE_SNAP_BY_ORDINAL(Ordinal) IMAGE_SNAP_BY_ORDINAL64(Ordinal)
561 typedef PIMAGE_TLS_DIRECTORY64 PIMAGE_TLS_DIRECTORY;
562 #else
563 #define IMAGE_ORDINAL_FLAG IMAGE_ORDINAL_FLAG32
564 #define IMAGE_ORDINAL(Ordinal) IMAGE_ORDINAL32(Ordinal)
566 typedef PIMAGE_THUNK_DATA32 PIMAGE_THUNK_DATA;
567 #define IMAGE_SNAP_BY_ORDINAL(Ordinal) IMAGE_SNAP_BY_ORDINAL32(Ordinal)
569 typedef PIMAGE_TLS_DIRECTORY32 PIMAGE_TLS_DIRECTORY;
570 #endif
571 
572 typedef struct _IMAGE_IMPORT_DESCRIPTOR {
573  _ANONYMOUS_UNION union {
576  } DUMMYUNIONNAME;
582 
583 #include <poppack.h>
584 
585 #endif /* _NTIMAGE_ */
USHORT e_maxalloc
Definition: ntimage.h:58
ULONGLONG SizeOfStackReserve
Definition: ntimage.h:364
struct _IMAGE_RESOURCE_DIRECTORY * PIMAGE_RESOURCE_DIRECTORY
struct _IMAGE_DATA_DIRECTORY * PIMAGE_DATA_DIRECTORY
struct _IMAGE_RESOURCE_DIRECTORY_STRING IMAGE_RESOURCE_DIRECTORY_STRING
struct _IMAGE_SECTION_HEADER IMAGE_SECTION_HEADER
struct _IMAGE_BASE_RELOCATION * PIMAGE_BASE_RELOCATION
USHORT e_cparhdr
Definition: ntimage.h:56
IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS
Definition: ntimage.h:408
ULONGLONG SizeOfStackCommit
Definition: ntimage.h:365
ULONG NameOffset
Definition: ntimage.h:185
ULONG AddressOfNameOrdinals
Definition: ntimage.h:89
ULONG OffsetToDirectory
Definition: ntimage.h:194
ULONG NumberOfSymbols
Definition: ntimage.h:253
#define ANYSIZE_ARRAY
Definition: typedefs.h:45
struct _IMAGE_RESOURCE_DIRECTORY IMAGE_RESOURCE_DIRECTORY
struct _IMAGE_IMPORT_BY_NAME * PIMAGE_IMPORT_BY_NAME
#define IMAGE_SIZEOF_SHORT_NAME
Definition: ntimage.h:208
struct _IMAGE_THUNK_DATA64 * PIMAGE_THUNK_DATA64
#define _ANONYMOUS_UNION
Definition: ntbasedef.h:30
struct _IMAGE_RESOURCE_DATA_ENTRY IMAGE_RESOURCE_DATA_ENTRY
char CHAR
Definition: xmlstorage.h:175
IMAGE_TLS_DIRECTORY32 IMAGE_TLS_DIRECTORY
Definition: ntimage.h:568
PIMAGE_TLS_DIRECTORY32 PIMAGE_TLS_DIRECTORY
Definition: ntimage.h:569
ULONG ForwarderString
Definition: ntimage.h:512
struct _IMAGE_THUNK_DATA64 IMAGE_THUNK_DATA64
struct _IMAGE_TLS_DIRECTORY32 * PIMAGE_TLS_DIRECTORY32
USHORT MajorOperatingSystemVersion
Definition: ntimage.h:352
ULONG PointerToSymbolTable
Definition: ntimage.h:252
struct _IMAGE_IMPORT_DESCRIPTOR * PIMAGE_IMPORT_DESCRIPTOR
struct _IMAGE_BASE_RELOCATION IMAGE_BASE_RELOCATION
IMAGE_OPTIONAL_HEADER32 IMAGE_OPTIONAL_HEADER
Definition: ntimage.h:385
ULONGLONG DeCommitTotalFreeThreshold
Definition: ntimage.h:137
PIMAGE_OPTIONAL_HEADER32 PIMAGE_OPTIONAL_HEADER
Definition: ntimage.h:386
GLdouble u1
Definition: glext.h:8308
ULONG NameIsString
Definition: ntimage.h:186
struct _IMAGE_LOAD_CONFIG_DIRECTORY32 IMAGE_LOAD_CONFIG_DIRECTORY32
#define DUMMYUNIONNAME
Definition: ntbasedef.h:32
USHORT e_ovno
Definition: ntimage.h:65
USHORT e_oemid
Definition: ntimage.h:67
USHORT MajorSubsystemVersion
Definition: ntimage.h:356
struct _IMAGE_NT_HEADERS * PIMAGE_NT_HEADERS32
Definition: ntimage.h:413
PIMAGE_LOAD_CONFIG_DIRECTORY32 PIMAGE_LOAD_CONFIG_DIRECTORY
Definition: ntimage.h:156
ULONGLONG AddressOfCallBacks
Definition: ntimage.h:540
ULONGLONG StartAddressOfRawData
Definition: ntimage.h:537
ULONG Reserved
Definition: ntimage.h:99
USHORT MajorSubsystemVersion
Definition: ntimage.h:307
struct IMAGE_LOAD_CONFIG_DIRECTORY32 * PIMAGE_LOAD_CONFIG_DIRECTORY32
IMAGE_THUNK_DATA32 IMAGE_THUNK_DATA
Definition: ntimage.h:565
struct _IMAGE_LOAD_CONFIG_DIRECTORY64 IMAGE_LOAD_CONFIG_DIRECTORY64
VOID(NTAPI * PIMAGE_TLS_CALLBACK)(PVOID DllHandle, ULONG Reason, PVOID Reserved)
Definition: ntimage.h:531
struct _IMAGE_FILE_HEADER * PIMAGE_FILE_HEADER
NTSTATUS(* NTAPI)(IN PFILE_FULL_EA_INFORMATION EaBuffer, IN ULONG EaLength, OUT PULONG ErrorOffset)
Definition: IoEaTest.cpp:117
USHORT NumberOfRelocations
Definition: ntimage.h:222
long LONG
Definition: pedump.c:60
ULONGLONG VirtualMemoryThreshold
Definition: ntimage.h:140
struct _IMAGE_DOS_HEADER IMAGE_DOS_HEADER
USHORT MajorImageVersion
Definition: ntimage.h:305
ULONGLONG AddressOfData
Definition: ntimage.h:505
#define DUMMYSTRUCTNAME2
Definition: ntbasedef.h:60
struct _IMAGE_FILE_HEADER IMAGE_FILE_HEADER
struct _IMAGE_TLS_DIRECTORY64 IMAGE_TLS_DIRECTORY64
struct _IMAGE_TLS_DIRECTORY32 IMAGE_TLS_DIRECTORY32
Definition: pedump.c:457
_Reserved_ PVOID Reserved
Definition: winddi.h:3974
struct _IMAGE_SECTION_HEADER * PIMAGE_SECTION_HEADER
ULONG PointerToRelocations
Definition: ntimage.h:220
IMAGE_OPTIONAL_HEADER64 OptionalHeader
Definition: ntimage.h:396
ULONGLONG SizeOfHeapCommit
Definition: ntimage.h:367
USHORT e_lfarlc
Definition: ntimage.h:64
USHORT MinorSubsystemVersion
Definition: ntimage.h:308
USHORT NumberOfLinenumbers
Definition: ntimage.h:223
struct _IMAGE_RESOURCE_DIRECTORY_ENTRY * PIMAGE_RESOURCE_DIRECTORY_ENTRY
struct _IMAGE_ROM_OPTIONAL_HEADER * PIMAGE_ROM_OPTIONAL_HEADER
struct _IMAGE_DATA_DIRECTORY IMAGE_DATA_DIRECTORY
USHORT SizeOfOptionalHeader
Definition: ntimage.h:254
ULONG PointerToLinenumbers
Definition: ntimage.h:221
uint64_t ULONGLONG
Definition: typedefs.h:65
USHORT e_magic
Definition: ntimage.h:52
struct _IMAGE_NT_HEADERS64 IMAGE_NT_HEADERS64
#define IMAGE_NUMBEROF_DIRECTORY_ENTRIES
Definition: ntimage.h:280
USHORT MinorOperatingSystemVersion
Definition: ntimage.h:304
ULONGLONG Function
Definition: ntimage.h:503
WORD e_res2[10]
Definition: ntddk_ex.h:117
USHORT MinorSubsystemVersion
Definition: ntimage.h:357
struct _IMAGE_OPTIONAL_HEADER * PIMAGE_OPTIONAL_HEADER32
struct _IMAGE_IMPORT_BY_NAME IMAGE_IMPORT_BY_NAME
struct _IMAGE_THUNK_DATA32 IMAGE_THUNK_DATA32
USHORT e_cblp
Definition: ntimage.h:53
USHORT Id
Definition: ntimage.h:189
USHORT NumberOfSections
Definition: ntimage.h:250
unsigned char UCHAR
Definition: xmlstorage.h:181
IMAGE_LOAD_CONFIG_DIRECTORY32 IMAGE_LOAD_CONFIG_DIRECTORY
Definition: ntimage.h:155
USHORT e_oeminfo
Definition: ntimage.h:68
ULONGLONG SizeOfHeapReserve
Definition: ntimage.h:366
ULONG SizeOfUninitializedData
Definition: ntimage.h:296
struct _IMAGE_TLS_DIRECTORY64 * PIMAGE_TLS_DIRECTORY64
#define VOID
Definition: acefi.h:82
ULONGLONG AddressOfIndex
Definition: ntimage.h:539
ULONGLONG EndAddressOfRawData
Definition: ntimage.h:538
struct _IMAGE_OPTIONAL_HEADER IMAGE_OPTIONAL_HEADER32
#define _ANONYMOUS_STRUCT
Definition: ntbasedef.h:56
ULONG SizeOfInitializedData
Definition: ntimage.h:295
ULONG OffsetToData
Definition: ntimage.h:96
ULONG CodePage
Definition: ntimage.h:98
Definition: pedump.c:413
struct _IMAGE_RESOURCE_DATA_ENTRY * PIMAGE_RESOURCE_DATA_ENTRY
struct _IMAGE_RESOURCE_DIRECTORY_STRING * PIMAGE_RESOURCE_DIRECTORY_STRING
USHORT e_minalloc
Definition: ntimage.h:57
USHORT e_csum
Definition: ntimage.h:61
struct _IMAGE_DOS_HEADER * PIMAGE_DOS_HEADER
ULONG DataIsDirectory
Definition: ntimage.h:195
struct _IMAGE_THUNK_DATA32 * PIMAGE_THUNK_DATA32
unsigned short USHORT
Definition: pedump.c:61
struct _IMAGE_NT_HEADERS IMAGE_NT_HEADERS32
ULONG Size
Definition: ntimage.h:97
USHORT Characteristics
Definition: ntimage.h:255
ULONGLONG DeCommitFreeBlockThreshold
Definition: ntimage.h:136
struct IMAGE_LOAD_CONFIG_DIRECTORY64 * PIMAGE_LOAD_CONFIG_DIRECTORY64
USHORT MinorImageVersion
Definition: ntimage.h:306
PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS
Definition: ntimage.h:419
struct _IMAGE_OPTIONAL_HEADER64 * PIMAGE_OPTIONAL_HEADER64
IMAGE_FILE_HEADER FileHeader
Definition: ntimage.h:395
unsigned int ULONG
Definition: retypes.h:1
#define DUMMYUNIONNAME2
Definition: ntbasedef.h:34
struct _IMAGE_OPTIONAL_HEADER64 IMAGE_OPTIONAL_HEADER64
USHORT MajorOperatingSystemVersion
Definition: ntimage.h:303
ULONG TimeDateStamp
Definition: ntimage.h:251
USHORT MinorOperatingSystemVersion
Definition: ntimage.h:353
ULONG Name
Definition: ntimage.h:188
#define DUMMYSTRUCTNAME
Definition: ntbasedef.h:58
PVOID PVOID PWCHAR PVOID USHORT PULONG Reason
Definition: env.c:45
ULONGLONG ForwarderString
Definition: ntimage.h:502
ULONG StartAddressOfRawData
Definition: ntimage.h:546
USHORT e_crlc
Definition: ntimage.h:55
struct _IMAGE_EXPORT_DIRECTORY IMAGE_EXPORT_DIRECTORY
struct _IMAGE_NT_HEADERS64 * PIMAGE_NT_HEADERS64
Definition: ntimage.h:414
ULONGLONG Ordinal
Definition: ntimage.h:504
USHORT DllCharacteristics
Definition: ntimage.h:314
struct _IMAGE_IMPORT_DESCRIPTOR IMAGE_IMPORT_DESCRIPTOR
PIMAGE_THUNK_DATA32 PIMAGE_THUNK_DATA
Definition: ntimage.h:566
struct _IMAGE_ROM_OPTIONAL_HEADER IMAGE_ROM_OPTIONAL_HEADER
struct _IMAGE_EXPORT_DIRECTORY * PIMAGE_EXPORT_DIRECTORY
ULONG OffsetToData
Definition: ntimage.h:192
struct _IMAGE_RESOURCE_DIRECTORY_ENTRY IMAGE_RESOURCE_DIRECTORY_ENTRY