LOADED_IMAGE structure
Applies to: desktop apps only
Contains information about the loaded image.
Syntax
typedef struct _LOADED_IMAGE {
PSTR ModuleName;
HANDLE hFile;
PUCHAR MappedAddress;
PIMAGE_NT_HEADERS32 FileHeader;
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
|
Redistributable | DbgHelp.dll 5.1 or later |
|---|---|
|
Header |
|
See also
Send comments about this topic to Microsoft
Build date: 3/6/2012