IMAGEHLP_MODULE

The IMAGEHLP_MODULE structure contains module information.

typedef struct _IMAGEHLP_MODULE {
    DWORD SizeOfStruct;
    DWORD BaseOfImage;
    DWORD ImageSize;
    DWORD TimeDateStamp;
    DWORD CheckSum;
    DWORD NumSyms;
    SYM_TYPE SymType;
    CHAR ModuleName[32];
    CHAR ImageName[256];
    CHAR LoadedImageName[256];
} IMAGEHLP_MODULE, *PIMAGEHLP_MODULE;
 

Members

SizeOfStruct
Specifies the size of the structure. The caller must set this to sizeof(IMAGEHLP_MODULE).
BaseOfImage
Specifies the base virtual address where the image is loaded.
ImageSize
Specifies the size of the image.
TimeDateStamp
Specifies the date and time stamp value. The value is represented in the number of seconds elapsed since midnight (00:00:00), January 1, 1970, Universal Coordinated Time, according to the system clock. The time stamp can be printed using the C run-time (CRT) function ctime.
CheckSum
Specifies the computed checksum of the image. This value can be zero.
NumSyms
Specifies the number of symbols in the symbol table.
SymType
Specifies the type of symbols that are loaded. This parameter can be one of the following values:
Value Meaning
SymNone No symbols are loaded.
SymCoff COFF symbols.
SymCv CodeView symbols.
SymPdb PDB symbols. (Actually CodeView stored in a PDB file.)
SymExport Symbols generated from a DLL's export table.
SymDeferred ImageHlp has not yet attempted to load symbols.

ModuleName
Specifies the module name.
ImageName
Specifies the image name. The name may or may not contain a full path.
LoadedImageName
Specifies the full path and filename from which symbols were loaded.

QuickInfo

  Windows NT: Requires version 3.51 or later.
  Windows: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Windows CE: Unsupported.
  Header: Declared in imagehlp.h.

See Also

PE Image Helper (ImageHlp) Overview, Image Integrity, SymGetModuleInfo