LOADED_IMAGE structure (dbghelp.h)
Contains information about the loaded image.
Syntax
typedef struct _LOADED_IMAGE {
PSTR ModuleName;
HANDLE hFile;
PUCHAR MappedAddress;
#if ...
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;
BOOLEAN fReadOnly;
UCHAR Version;
LIST_ENTRY Links;
ULONG SizeOfImage;
} LOADED_IMAGE, *PLOADED_IMAGE;
Members
ModuleName
The file name of the mapped file.
hFile
A handle to the mapped file.
MappedAddress
The base address of the mapped file.
FileHeader
A pointer to an IMAGE_NT_HEADERS structure.
LastRvaSection
A pointer to an IMAGE_SECTION_HEADER structure.
NumberOfSections
The number of COFF section headers.
Sections
A pointer to an IMAGE_SECTION_HEADER structure.
Characteristics
The image characteristics value. This member can be one of the following values.
fSystemImage
If the image is a kernel mode executable image, this value is TRUE.
fDOSImage
If the image is a 16-bit executable image, this value is TRUE.
fReadOnly
If the image is read-only, this value is TRUE.
Prior to Windows Vista: This member is not included in the structure.
Version
The version string.
Prior to Windows Vista: This member is not included in the structure.
Links
The list of loaded images.
SizeOfImage
The size of the image, in bytes.
Remarks
The LIST_ENTRY structure is defined as follows:
typedef struct _LIST_ENTRY {
struct _LIST_ENTRY *Flink;
struct _LIST_ENTRY *Blink;
} LIST_ENTRY, *PLIST_ENTRY, *RESTRICTED_POINTER PRLIST_ENTRY;
Requirements
Requirement | Value |
---|---|
Header | dbghelp.h |
Redistributable | DbgHelp.dll 5.1 or later |