ReactOS  0.4.11-dev-433-g473ca91
ntimage.h File Reference
#include <pshpack2.h>
#include <poppack.h>
#include <pshpack4.h>
#include <pshpack8.h>
Include dependency graph for ntimage.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _IMAGE_DOS_HEADER
 
struct  _IMAGE_EXPORT_DIRECTORY
 
struct  _IMAGE_RESOURCE_DATA_ENTRY
 
struct  IMAGE_LOAD_CONFIG_DIRECTORY32
 
struct  IMAGE_LOAD_CONFIG_DIRECTORY64
 
struct  _IMAGE_BASE_RELOCATION
 
struct  _IMAGE_RESOURCE_DIRECTORY
 
struct  _IMAGE_RESOURCE_DIRECTORY_ENTRY
 
struct  _IMAGE_RESOURCE_DIRECTORY_STRING
 
struct  _IMAGE_SECTION_HEADER
 
struct  _IMAGE_FILE_HEADER
 
struct  _IMAGE_DATA_DIRECTORY
 
struct  _IMAGE_OPTIONAL_HEADER
 
struct  _IMAGE_ROM_OPTIONAL_HEADER
 
struct  _IMAGE_OPTIONAL_HEADER64
 
struct  _IMAGE_NT_HEADERS64
 
struct  _IMAGE_NT_HEADERS
 
struct  _IMAGE_IMPORT_BY_NAME
 
struct  _IMAGE_THUNK_DATA64
 
struct  _IMAGE_THUNK_DATA32
 
struct  _IMAGE_TLS_DIRECTORY64
 
struct  _IMAGE_TLS_DIRECTORY32
 
struct  _IMAGE_IMPORT_DESCRIPTOR
 

Macros

#define IMAGE_DOS_SIGNATURE   0x5A4D
 
#define IMAGE_OS2_SIGNATURE   0x454E
 
#define IMAGE_OS2_SIGNATURE_LE   0x454C
 
#define IMAGE_VXD_SIGNATURE   0x454C
 
#define IMAGE_NT_SIGNATURE   0x00004550
 
#define IMAGE_FILE_MACHINE_AM33   0x1d3
 
#define IMAGE_FILE_MACHINE_AMD64   0x8664
 
#define IMAGE_FILE_MACHINE_ARM   0x1c0
 
#define IMAGE_FILE_MACHINE_ARMV7   0x1c4
 
#define IMAGE_FILE_MACHINE_EBC   0xebc
 
#define IMAGE_FILE_MACHINE_I386   0x14c
 
#define IMAGE_FILE_MACHINE_IA64   0x200
 
#define IMAGE_FILE_MACHINE_M32R   0x9041
 
#define IMAGE_FILE_MACHINE_MIPS16   0x266
 
#define IMAGE_FILE_MACHINE_MIPSFPU   0x366
 
#define IMAGE_FILE_MACHINE_MIPSFPU16   0x466
 
#define IMAGE_FILE_MACHINE_POWERPC   0x1f0
 
#define IMAGE_FILE_MACHINE_POWERPCFP   0x1f1
 
#define IMAGE_FILE_MACHINE_R4000   0x166
 
#define IMAGE_FILE_MACHINE_SH3   0x1a2
 
#define IMAGE_FILE_MACHINE_SH3E   0x01a4
 
#define IMAGE_FILE_MACHINE_SH3DSP   0x1a3
 
#define IMAGE_FILE_MACHINE_SH4   0x1a6
 
#define IMAGE_FILE_MACHINE_SH5   0x1a8
 
#define IMAGE_FILE_MACHINE_THUMB   0x1c2
 
#define IMAGE_FILE_MACHINE_WCEMIPSV2   0x169
 
#define IMAGE_FILE_MACHINE_R3000   0x162
 
#define IMAGE_FILE_MACHINE_R10000   0x168
 
#define IMAGE_FILE_MACHINE_ALPHA   0x184
 
#define IMAGE_FILE_MACHINE_ALPHA64   0x0284
 
#define IMAGE_FILE_MACHINE_AXP64   IMAGE_FILE_MACHINE_ALPHA64
 
#define IMAGE_FILE_MACHINE_CEE   0xC0EE
 
#define IMAGE_FILE_MACHINE_TRICORE   0x0520
 
#define IMAGE_FILE_MACHINE_CEF   0x0CEF
 
#define IMAGE_RESOURCE_NAME_IS_STRING   0x80000000
 
#define IMAGE_RESOURCE_DATA_IS_DIRECTORY   0x80000000
 
#define IMAGE_SIZEOF_SHORT_NAME   8
 
#define IMAGE_SIZEOF_SECTION_HEADER   40
 
#define IMAGE_SCN_CNT_CODE   0x00000020
 
#define IMAGE_SCN_CNT_INITIALIZED_DATA   0x00000040
 
#define IMAGE_SCN_CNT_UNINITIALIZED_DATA   0x00000080
 
#define IMAGE_SCN_LNK_NRELOC_OVFL   0x01000000
 
#define IMAGE_SCN_MEM_DISCARDABLE   0x02000000
 
#define IMAGE_SCN_MEM_NOT_CACHED   0x04000000
 
#define IMAGE_SCN_MEM_NOT_PAGED   0x08000000
 
#define IMAGE_SCN_MEM_SHARED   0x10000000
 
#define IMAGE_SCN_MEM_EXECUTE   0x20000000
 
#define IMAGE_SCN_MEM_READ   0x40000000
 
#define IMAGE_SCN_MEM_WRITE   0x80000000
 
#define IMAGE_SIZEOF_FILE_HEADER   20
 
#define IMAGE_FILE_RELOCS_STRIPPED   0x0001
 
#define IMAGE_FILE_EXECUTABLE_IMAGE   0x0002
 
#define IMAGE_FILE_LINE_NUMS_STRIPPED   0x0004
 
#define IMAGE_FILE_LOCAL_SYMS_STRIPPED   0x0008
 
#define IMAGE_FILE_AGGRESIVE_WS_TRIM   0x0010
 
#define IMAGE_FILE_LARGE_ADDRESS_AWARE   0x0020
 
#define IMAGE_FILE_BYTES_REVERSED_LO   0x0080
 
#define IMAGE_FILE_32BIT_MACHINE   0x0100
 
#define IMAGE_FILE_DEBUG_STRIPPED   0x0200
 
#define IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP   0x0400
 
#define IMAGE_FILE_NET_RUN_FROM_SWAP   0x0800
 
#define IMAGE_FILE_SYSTEM   0x1000
 
#define IMAGE_FILE_DLL   0x2000
 
#define IMAGE_FILE_UP_SYSTEM_ONLY   0x4000
 
#define IMAGE_FILE_BYTES_REVERSED_HI   0x8000
 
#define IMAGE_NUMBEROF_DIRECTORY_ENTRIES   16
 
#define IMAGE_NT_OPTIONAL_HDR32_MAGIC   0x10b
 
#define IMAGE_NT_OPTIONAL_HDR64_MAGIC   0x20b
 
#define IMAGE_ROM_OPTIONAL_HDR_MAGIC   0x107
 
#define IMAGE_NT_OPTIONAL_HDR_MAGIC   IMAGE_NT_OPTIONAL_HDR32_MAGIC
 
#define IMAGE_FIRST_SECTION(NtHeader)
 
#define IMAGE_SUBSYSTEM_UNKNOWN   0
 
#define IMAGE_SUBSYSTEM_NATIVE   1
 
#define IMAGE_SUBSYSTEM_WINDOWS_GUI   2
 
#define IMAGE_SUBSYSTEM_WINDOWS_CUI   3
 
#define IMAGE_SUBSYSTEM_OS2_CUI   5
 
#define IMAGE_SUBSYSTEM_POSIX_CUI   7
 
#define IMAGE_SUBSYSTEM_NATIVE_WINDOWS   8
 
#define IMAGE_SUBSYSTEM_WINDOWS_CE_GUI   9
 
#define IMAGE_SUBSYSTEM_EFI_APPLICATION   10
 
#define IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER   11
 
#define IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER   12
 
#define IMAGE_SUBSYSTEM_EFI_ROM   13
 
#define IMAGE_SUBSYSTEM_XBOX   14
 
#define IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION   16
 
#define IMAGE_SUBSYSTEM_XBOX_CODE_CATALOG   17
 
#define IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA   0x0020
 
#define IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE   0x0040
 
#define IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY   0x0080
 
#define IMAGE_DLLCHARACTERISTICS_NX_COMPAT   0x0100
 
#define IMAGE_DLLCHARACTERISTICS_NO_ISOLATION   0x0200
 
#define IMAGE_DLLCHARACTERISTICS_NO_SEH   0x0400
 
#define IMAGE_DLLCHARACTERISTICS_NO_BIND   0x0800
 
#define IMAGE_DLLCHARACTERISTICS_APPCONTAINER   0x1000
 
#define IMAGE_DLLCHARACTERISTICS_WDM_DRIVER   0x2000
 
#define IMAGE_DLLCHARACTERISTICS_GUARD_CF   0x4000
 
#define IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE   0x8000
 
#define IMAGE_LOADER_FLAGS_COMPLUS   0x00000001
 
#define IMAGE_LOADER_FLAGS_SYSTEM_GLOBAL   0x01000000
 
#define IMAGE_DIRECTORY_ENTRY_EXPORT   0
 
#define IMAGE_DIRECTORY_ENTRY_IMPORT   1
 
#define IMAGE_DIRECTORY_ENTRY_RESOURCE   2
 
#define IMAGE_DIRECTORY_ENTRY_EXCEPTION   3
 
#define IMAGE_DIRECTORY_ENTRY_SECURITY   4
 
#define IMAGE_DIRECTORY_ENTRY_BASERELOC   5
 
#define IMAGE_DIRECTORY_ENTRY_DEBUG   6
 
#define IMAGE_DIRECTORY_ENTRY_ARCHITECTURE   7
 
#define IMAGE_DIRECTORY_ENTRY_GLOBALPTR   8
 
#define IMAGE_DIRECTORY_ENTRY_TLS   9
 
#define IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG   10
 
#define IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT   11
 
#define IMAGE_DIRECTORY_ENTRY_IAT   12
 
#define IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT   13
 
#define IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR   14
 
#define IMAGE_ORDINAL_FLAG64   0x8000000000000000ULL
 
#define IMAGE_ORDINAL_FLAG32   0x80000000
 
#define IMAGE_ORDINAL64(Ordinal)   (Ordinal & 0xffff)
 
#define IMAGE_ORDINAL32(Ordinal)   (Ordinal & 0xffff)
 
#define IMAGE_SNAP_BY_ORDINAL64(Ordinal)   ((Ordinal & IMAGE_ORDINAL_FLAG64) != 0)
 
#define IMAGE_SNAP_BY_ORDINAL32(Ordinal)   ((Ordinal & IMAGE_ORDINAL_FLAG32) != 0)
 
#define IMAGE_ORDINAL_FLAG   IMAGE_ORDINAL_FLAG32
 
#define IMAGE_ORDINAL(Ordinal)   IMAGE_ORDINAL32(Ordinal)
 
#define IMAGE_SNAP_BY_ORDINAL(Ordinal)   IMAGE_SNAP_BY_ORDINAL32(Ordinal)
 

Typedefs

typedef struct _IMAGE_DOS_HEADER IMAGE_DOS_HEADER
 
typedef struct _IMAGE_DOS_HEADERPIMAGE_DOS_HEADER
 
typedef struct
_IMAGE_EXPORT_DIRECTORY 
IMAGE_EXPORT_DIRECTORY
 
typedef struct
_IMAGE_EXPORT_DIRECTORY
PIMAGE_EXPORT_DIRECTORY
 
typedef struct
_IMAGE_RESOURCE_DATA_ENTRY 
IMAGE_RESOURCE_DATA_ENTRY
 
typedef struct
_IMAGE_RESOURCE_DATA_ENTRY
PIMAGE_RESOURCE_DATA_ENTRY
 
typedef struct
IMAGE_LOAD_CONFIG_DIRECTORY32
PIMAGE_LOAD_CONFIG_DIRECTORY32
 
typedef struct
IMAGE_LOAD_CONFIG_DIRECTORY64
PIMAGE_LOAD_CONFIG_DIRECTORY64
 
typedef
IMAGE_LOAD_CONFIG_DIRECTORY32 
IMAGE_LOAD_CONFIG_DIRECTORY
 
typedef
PIMAGE_LOAD_CONFIG_DIRECTORY32 
PIMAGE_LOAD_CONFIG_DIRECTORY
 
typedef struct
_IMAGE_BASE_RELOCATION 
IMAGE_BASE_RELOCATION
 
typedef struct
_IMAGE_BASE_RELOCATION
PIMAGE_BASE_RELOCATION
 
typedef struct
_IMAGE_RESOURCE_DIRECTORY 
IMAGE_RESOURCE_DIRECTORY
 
typedef struct
_IMAGE_RESOURCE_DIRECTORY
PIMAGE_RESOURCE_DIRECTORY
 
typedef struct
_IMAGE_RESOURCE_DIRECTORY_ENTRY 
IMAGE_RESOURCE_DIRECTORY_ENTRY
 
typedef struct
_IMAGE_RESOURCE_DIRECTORY_ENTRY
PIMAGE_RESOURCE_DIRECTORY_ENTRY
 
typedef struct
_IMAGE_RESOURCE_DIRECTORY_STRING 
IMAGE_RESOURCE_DIRECTORY_STRING
 
typedef struct
_IMAGE_RESOURCE_DIRECTORY_STRING
PIMAGE_RESOURCE_DIRECTORY_STRING
 
typedef struct
_IMAGE_SECTION_HEADER 
IMAGE_SECTION_HEADER
 
typedef struct
_IMAGE_SECTION_HEADER
PIMAGE_SECTION_HEADER
 
typedef struct _IMAGE_FILE_HEADER IMAGE_FILE_HEADER
 
typedef struct _IMAGE_FILE_HEADERPIMAGE_FILE_HEADER
 
typedef struct
_IMAGE_DATA_DIRECTORY 
IMAGE_DATA_DIRECTORY
 
typedef struct
_IMAGE_DATA_DIRECTORY
PIMAGE_DATA_DIRECTORY
 
typedef struct
_IMAGE_OPTIONAL_HEADER 
IMAGE_OPTIONAL_HEADER32
 
typedef struct
_IMAGE_OPTIONAL_HEADER
PIMAGE_OPTIONAL_HEADER32
 
typedef struct
_IMAGE_ROM_OPTIONAL_HEADER 
IMAGE_ROM_OPTIONAL_HEADER
 
typedef struct
_IMAGE_ROM_OPTIONAL_HEADER
PIMAGE_ROM_OPTIONAL_HEADER
 
typedef struct
_IMAGE_OPTIONAL_HEADER64 
IMAGE_OPTIONAL_HEADER64
 
typedef struct
_IMAGE_OPTIONAL_HEADER64
PIMAGE_OPTIONAL_HEADER64
 
typedef IMAGE_OPTIONAL_HEADER32 IMAGE_OPTIONAL_HEADER
 
typedef PIMAGE_OPTIONAL_HEADER32 PIMAGE_OPTIONAL_HEADER
 
typedef struct _IMAGE_NT_HEADERS64 IMAGE_NT_HEADERS64
 
typedef struct _IMAGE_NT_HEADERS IMAGE_NT_HEADERS32
 
typedef IMAGE_NT_HEADERS32 IMAGE_NT_HEADERS
 
typedef struct _IMAGE_NT_HEADERSPIMAGE_NT_HEADERS32
 
typedef struct
_IMAGE_NT_HEADERS64
PIMAGE_NT_HEADERS64
 
typedef PIMAGE_NT_HEADERS32 PIMAGE_NT_HEADERS
 
typedef struct
_IMAGE_IMPORT_BY_NAME 
IMAGE_IMPORT_BY_NAME
 
typedef struct
_IMAGE_IMPORT_BY_NAME
PIMAGE_IMPORT_BY_NAME
 
typedef struct _IMAGE_THUNK_DATA64 IMAGE_THUNK_DATA64
 
typedef struct
_IMAGE_THUNK_DATA64
PIMAGE_THUNK_DATA64
 
typedef struct _IMAGE_THUNK_DATA32 IMAGE_THUNK_DATA32
 
typedef struct
_IMAGE_THUNK_DATA32
PIMAGE_THUNK_DATA32
 
typedef ULONG Reason
 
typedef ULONG PVOID Reserved
 
typedef struct
_IMAGE_TLS_DIRECTORY64 
IMAGE_TLS_DIRECTORY64
 
typedef struct
_IMAGE_TLS_DIRECTORY64
PIMAGE_TLS_DIRECTORY64
 
typedef struct
_IMAGE_TLS_DIRECTORY32 
IMAGE_TLS_DIRECTORY32
 
typedef struct
_IMAGE_TLS_DIRECTORY32
PIMAGE_TLS_DIRECTORY32
 
typedef IMAGE_THUNK_DATA32 IMAGE_THUNK_DATA
 
typedef PIMAGE_THUNK_DATA32 PIMAGE_THUNK_DATA
 
typedef IMAGE_TLS_DIRECTORY32 IMAGE_TLS_DIRECTORY
 
typedef PIMAGE_TLS_DIRECTORY32 PIMAGE_TLS_DIRECTORY
 
typedef struct
_IMAGE_IMPORT_DESCRIPTOR 
IMAGE_IMPORT_DESCRIPTOR
 
typedef struct
_IMAGE_IMPORT_DESCRIPTOR
PIMAGE_IMPORT_DESCRIPTOR
 

Functions

typedef VOID (NTAPI *PIMAGE_TLS_CALLBACK)(PVOID DllHandle
 

Macro Definition Documentation

#define IMAGE_DIRECTORY_ENTRY_ARCHITECTURE   7

Definition at line 482 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_BASERELOC   5

Definition at line 480 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_BOUND_IMPORT   11

Definition at line 486 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR   14
#define IMAGE_DIRECTORY_ENTRY_DEBUG   6

Definition at line 481 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_DELAY_IMPORT   13

Definition at line 488 of file ntimage.h.

Referenced by START_TEST(), and test_ResolveDelayLoadedAPI().

#define IMAGE_DIRECTORY_ENTRY_EXCEPTION   3

Definition at line 478 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_EXPORT   0

Definition at line 475 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_GLOBALPTR   8

Definition at line 483 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_IAT   12

Definition at line 487 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_IMPORT   1

Definition at line 476 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG   10

Definition at line 485 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_RESOURCE   2

Definition at line 477 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_SECURITY   4

Definition at line 479 of file ntimage.h.

#define IMAGE_DIRECTORY_ENTRY_TLS   9

Definition at line 484 of file ntimage.h.

#define IMAGE_DLLCHARACTERISTICS_APPCONTAINER   0x1000

Definition at line 461 of file ntimage.h.

#define IMAGE_DLLCHARACTERISTICS_DYNAMIC_BASE   0x0040

Definition at line 455 of file ntimage.h.

Referenced by query_image_section(), and test_Loader().

#define IMAGE_DLLCHARACTERISTICS_FORCE_INTEGRITY   0x0080

Definition at line 456 of file ntimage.h.

Referenced by ImgpLoadPEImage().

#define IMAGE_DLLCHARACTERISTICS_GUARD_CF   0x4000

Definition at line 463 of file ntimage.h.

#define IMAGE_DLLCHARACTERISTICS_HIGH_ENTROPY_VA   0x0020

Definition at line 454 of file ntimage.h.

#define IMAGE_DLLCHARACTERISTICS_NO_BIND   0x0800

Definition at line 460 of file ntimage.h.

#define IMAGE_DLLCHARACTERISTICS_NO_ISOLATION   0x0200

Definition at line 458 of file ntimage.h.

Referenced by CreateProcessInternalW(), and PeFmtCreateSection().

#define IMAGE_DLLCHARACTERISTICS_NO_SEH   0x0400

Definition at line 459 of file ntimage.h.

#define IMAGE_DLLCHARACTERISTICS_NX_COMPAT   0x0100

Definition at line 457 of file ntimage.h.

Referenced by test_filenames(), and test_Loader().

#define IMAGE_DLLCHARACTERISTICS_TERMINAL_SERVER_AWARE   0x8000

Definition at line 464 of file ntimage.h.

#define IMAGE_DLLCHARACTERISTICS_WDM_DRIVER   0x2000

Definition at line 462 of file ntimage.h.

#define IMAGE_DOS_SIGNATURE   0x5A4D

Definition at line 7 of file ntimage.h.

#define IMAGE_FILE_32BIT_MACHINE   0x0100

Definition at line 268 of file ntimage.h.

#define IMAGE_FILE_AGGRESIVE_WS_TRIM   0x0010

Definition at line 265 of file ntimage.h.

#define IMAGE_FILE_BYTES_REVERSED_HI   0x8000

Definition at line 275 of file ntimage.h.

#define IMAGE_FILE_BYTES_REVERSED_LO   0x0080

Definition at line 267 of file ntimage.h.

#define IMAGE_FILE_DEBUG_STRIPPED   0x0200

Definition at line 269 of file ntimage.h.

#define IMAGE_FILE_DLL   0x2000

Definition at line 273 of file ntimage.h.

#define IMAGE_FILE_EXECUTABLE_IMAGE   0x0002

Definition at line 262 of file ntimage.h.

#define IMAGE_FILE_LARGE_ADDRESS_AWARE   0x0020

Definition at line 266 of file ntimage.h.

#define IMAGE_FILE_LINE_NUMS_STRIPPED   0x0004

Definition at line 263 of file ntimage.h.

#define IMAGE_FILE_LOCAL_SYMS_STRIPPED   0x0008

Definition at line 264 of file ntimage.h.

#define IMAGE_FILE_MACHINE_ALPHA   0x184

Definition at line 39 of file ntimage.h.

#define IMAGE_FILE_MACHINE_ALPHA64   0x0284

Definition at line 40 of file ntimage.h.

#define IMAGE_FILE_MACHINE_AM33   0x1d3

Definition at line 16 of file ntimage.h.

#define IMAGE_FILE_MACHINE_AMD64   0x8664
#define IMAGE_FILE_MACHINE_ARM   0x1c0

Definition at line 18 of file ntimage.h.

#define IMAGE_FILE_MACHINE_ARMV7   0x1c4

Definition at line 19 of file ntimage.h.

#define IMAGE_FILE_MACHINE_AXP64   IMAGE_FILE_MACHINE_ALPHA64

Definition at line 41 of file ntimage.h.

#define IMAGE_FILE_MACHINE_CEE   0xC0EE

Definition at line 42 of file ntimage.h.

#define IMAGE_FILE_MACHINE_CEF   0x0CEF

Definition at line 44 of file ntimage.h.

#define IMAGE_FILE_MACHINE_EBC   0xebc

Definition at line 20 of file ntimage.h.

#define IMAGE_FILE_MACHINE_I386   0x14c

Definition at line 21 of file ntimage.h.

#define IMAGE_FILE_MACHINE_IA64   0x200

Definition at line 22 of file ntimage.h.

Referenced by CreateProcessInternalW().

#define IMAGE_FILE_MACHINE_M32R   0x9041

Definition at line 23 of file ntimage.h.

#define IMAGE_FILE_MACHINE_MIPS16   0x266

Definition at line 24 of file ntimage.h.

#define IMAGE_FILE_MACHINE_MIPSFPU   0x366

Definition at line 25 of file ntimage.h.

#define IMAGE_FILE_MACHINE_MIPSFPU16   0x466

Definition at line 26 of file ntimage.h.

#define IMAGE_FILE_MACHINE_POWERPC   0x1f0

Definition at line 27 of file ntimage.h.

#define IMAGE_FILE_MACHINE_POWERPCFP   0x1f1

Definition at line 28 of file ntimage.h.

Referenced by Test_ApphelpCheckRunApp().

#define IMAGE_FILE_MACHINE_R10000   0x168

Definition at line 38 of file ntimage.h.

#define IMAGE_FILE_MACHINE_R3000   0x162

Definition at line 37 of file ntimage.h.

#define IMAGE_FILE_MACHINE_R4000   0x166

Definition at line 29 of file ntimage.h.

#define IMAGE_FILE_MACHINE_SH3   0x1a2

Definition at line 30 of file ntimage.h.

#define IMAGE_FILE_MACHINE_SH3DSP   0x1a3

Definition at line 32 of file ntimage.h.

#define IMAGE_FILE_MACHINE_SH3E   0x01a4

Definition at line 31 of file ntimage.h.

#define IMAGE_FILE_MACHINE_SH4   0x1a6

Definition at line 33 of file ntimage.h.

#define IMAGE_FILE_MACHINE_SH5   0x1a8

Definition at line 34 of file ntimage.h.

#define IMAGE_FILE_MACHINE_THUMB   0x1c2

Definition at line 35 of file ntimage.h.

#define IMAGE_FILE_MACHINE_TRICORE   0x0520

Definition at line 43 of file ntimage.h.

#define IMAGE_FILE_MACHINE_WCEMIPSV2   0x169

Definition at line 36 of file ntimage.h.

#define IMAGE_FILE_NET_RUN_FROM_SWAP   0x0800

Definition at line 271 of file ntimage.h.

#define IMAGE_FILE_RELOCS_STRIPPED   0x0001

Definition at line 261 of file ntimage.h.

#define IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP   0x0400

Definition at line 270 of file ntimage.h.

#define IMAGE_FILE_SYSTEM   0x1000

Definition at line 272 of file ntimage.h.

#define IMAGE_FILE_UP_SYSTEM_ONLY   0x4000

Definition at line 274 of file ntimage.h.

#define IMAGE_LOADER_FLAGS_COMPLUS   0x00000001

Definition at line 469 of file ntimage.h.

#define IMAGE_LOADER_FLAGS_SYSTEM_GLOBAL   0x01000000

Definition at line 470 of file ntimage.h.

#define IMAGE_NT_SIGNATURE   0x00004550

Definition at line 11 of file ntimage.h.

#define IMAGE_NUMBEROF_DIRECTORY_ENTRIES   16

Definition at line 280 of file ntimage.h.

#define IMAGE_ORDINAL (   Ordinal)    IMAGE_ORDINAL32(Ordinal)

Definition at line 564 of file ntimage.h.

#define IMAGE_ORDINAL32 (   Ordinal)    (Ordinal & 0xffff)

Definition at line 522 of file ntimage.h.

#define IMAGE_ORDINAL64 (   Ordinal)    (Ordinal & 0xffff)

Definition at line 521 of file ntimage.h.

#define IMAGE_ORDINAL_FLAG   IMAGE_ORDINAL_FLAG32

Definition at line 563 of file ntimage.h.

#define IMAGE_ORDINAL_FLAG32   0x80000000

Definition at line 520 of file ntimage.h.

#define IMAGE_ORDINAL_FLAG64   0x8000000000000000ULL

Definition at line 519 of file ntimage.h.

#define IMAGE_OS2_SIGNATURE   0x454E

Definition at line 8 of file ntimage.h.

#define IMAGE_OS2_SIGNATURE_LE   0x454C

Definition at line 9 of file ntimage.h.

#define IMAGE_RESOURCE_DATA_IS_DIRECTORY   0x80000000

Definition at line 180 of file ntimage.h.

#define IMAGE_RESOURCE_NAME_IS_STRING   0x80000000

Definition at line 179 of file ntimage.h.

#define IMAGE_ROM_OPTIONAL_HDR_MAGIC   0x107

Definition at line 378 of file ntimage.h.

#define IMAGE_SCN_CNT_CODE   0x00000020
#define IMAGE_SCN_CNT_UNINITIALIZED_DATA   0x00000080

Definition at line 232 of file ntimage.h.

Referenced by PeFmtCreateSection(), and test_section_access().

#define IMAGE_SCN_LNK_NRELOC_OVFL   0x01000000

Definition at line 234 of file ntimage.h.

#define IMAGE_SCN_MEM_DISCARDABLE   0x02000000
#define IMAGE_SCN_MEM_NOT_CACHED   0x04000000

Definition at line 236 of file ntimage.h.

Referenced by LdrpSetProtection().

#define IMAGE_SCN_MEM_NOT_PAGED   0x08000000

Definition at line 237 of file ntimage.h.

Referenced by GeneratePData().

#define IMAGE_SIZEOF_FILE_HEADER   20

Definition at line 246 of file ntimage.h.

#define IMAGE_SIZEOF_SECTION_HEADER   40

Definition at line 209 of file ntimage.h.

#define IMAGE_SIZEOF_SHORT_NAME   8

Definition at line 208 of file ntimage.h.

#define IMAGE_SNAP_BY_ORDINAL32 (   Ordinal)    ((Ordinal & IMAGE_ORDINAL_FLAG32) != 0)

Definition at line 524 of file ntimage.h.

Referenced by RedirectIat(), and SeiHookImports().

#define IMAGE_SNAP_BY_ORDINAL64 (   Ordinal)    ((Ordinal & IMAGE_ORDINAL_FLAG64) != 0)

Definition at line 523 of file ntimage.h.

#define IMAGE_SUBSYSTEM_EFI_APPLICATION   10

Definition at line 443 of file ntimage.h.

#define IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER   11

Definition at line 444 of file ntimage.h.

#define IMAGE_SUBSYSTEM_EFI_ROM   13

Definition at line 446 of file ntimage.h.

#define IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER   12

Definition at line 445 of file ntimage.h.

#define IMAGE_SUBSYSTEM_NATIVE_WINDOWS   8

Definition at line 441 of file ntimage.h.

#define IMAGE_SUBSYSTEM_OS2_CUI   5

Definition at line 439 of file ntimage.h.

Referenced by SmpLoadSubSystem().

#define IMAGE_SUBSYSTEM_POSIX_CUI   7

Definition at line 440 of file ntimage.h.

Referenced by CreateProcessInternalW(), and SmpLoadSubSystem().

#define IMAGE_SUBSYSTEM_UNKNOWN   0

Definition at line 435 of file ntimage.h.

Referenced by SmConnectApiPort(), and SmConnectToSm().

#define IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION   16

Definition at line 448 of file ntimage.h.

Referenced by ImgpLoadPEImage().

#define IMAGE_SUBSYSTEM_WINDOWS_CE_GUI   9

Definition at line 442 of file ntimage.h.

#define IMAGE_SUBSYSTEM_WINDOWS_CUI   3
#define IMAGE_SUBSYSTEM_XBOX   14

Definition at line 447 of file ntimage.h.

#define IMAGE_SUBSYSTEM_XBOX_CODE_CATALOG   17

Definition at line 449 of file ntimage.h.

#define IMAGE_VXD_SIGNATURE   0x454C

Definition at line 10 of file ntimage.h.

Typedef Documentation

Definition at line 408 of file ntimage.h.

Definition at line 385 of file ntimage.h.

Definition at line 565 of file ntimage.h.

Definition at line 568 of file ntimage.h.

Definition at line 419 of file ntimage.h.

Definition at line 413 of file ntimage.h.

Definition at line 414 of file ntimage.h.

Definition at line 386 of file ntimage.h.

Definition at line 566 of file ntimage.h.

Definition at line 569 of file ntimage.h.

Definition at line 533 of file ntimage.h.

Definition at line 533 of file ntimage.h.

Function Documentation

typedef VOID ( NTAPI PIMAGE_TLS_CALLBACK)