Platform SDK: Debugging and Error Handling |
The LOADED_IMAGE structure contains information about the loaded image.
typedef struct _LOADED_IMAGE { PSTR ModuleName; HANDLE hFile; PUCHAR MappedAddress; #ifdef _IMAGEHLP64 PIMAGE_NT_HEADERS64 FileHeader; #else PIMAGE_NT_HEADERS32 FileHeader; #endif PIMAGE_SECTION_HEADER LastRvaSection; ULONG NumberOfSections; PIMAGE_SECTION_HEADER Sections; ULONG Characteristics; BOOLEAN fSystemImage; BOOLEAN fDOSImage; LIST_ENTRY Links; ULONG SizeOfImage; } LOADED_IMAGE, *PLOADED_IMAGE;
Value | Meaning |
---|---|
IMAGE_FILE_RELOCS_STRIPPED | Relocation information is stripped from the file. |
IMAGE_FILE_EXECUTABLE_IMAGE | The file is executable (there are no unresolved external references). |
IMAGE_FILE_LINE_NUMS_STRIPPED | Line numbers are stripped from the file. |
IMAGE_FILE_LOCAL_SYMS_STRIPPED | Local symbols are stripped from file. |
IMAGE_FILE_AGGRESIVE_WS_TRIM | Aggressively trim the working set. |
IMAGE_FILE_LARGE_ADDRESS_AWARE | The application can handle addresses larger than 2 GB. |
IMAGE_FILE_BYTES_REVERSED_LO | Bytes of word are reversed. |
IMAGE_FILE_32BIT_MACHINE | Computer supports 32-bit words. |
IMAGE_FILE_DEBUG_STRIPPED | Debugging information is stored separately in a .dbg file. |
IMAGE_FILE_REMOVABLE_RUN_FROM_SWAP | If the image is on removable media, copy and run from the swap file. |
IMAGE_FILE_NET_RUN_FROM_SWAP | If the image is on the network, copy and run from the swap file. |
IMAGE_FILE_SYSTEM | System file. |
IMAGE_FILE_DLL | DLL file. |
IMAGE_FILE_UP_SYSTEM_ONLY | File should be run only on a uniprocessor computer. |
IMAGE_FILE_BYTES_REVERSED_HI | Bytes of the word are reversed. |
Windows NT/2000: Requires Windows NT 3.51 or later.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in Dbghelp.h.
Debug Help Library Overview, DbgHelp Structures, IMAGE_NT_HEADERS, IMAGE_SECTION_HEADER, ImageLoad, MapAndLoad