Ask Learn
		
	
					Preview
					Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains module information.
typedef struct _IMAGEHLP_MODULEW64 {
  DWORD    SizeOfStruct;
  DWORD64  BaseOfImage;
  DWORD    ImageSize;
  DWORD    TimeDateStamp;
  DWORD    CheckSum;
  DWORD    NumSyms;
  SYM_TYPE SymType;
  WCHAR    ModuleName[32];
  WCHAR    ImageName[256];
  WCHAR    LoadedImageName[256];
  WCHAR    LoadedPdbName[256];
  DWORD    CVSig;
  WCHAR    *CVData[MAX_PATH  3];
  DWORD    PdbSig;
  GUID     PdbSig70;
  DWORD    PdbAge;
  BOOL     PdbUnmatched;
  BOOL     DbgUnmatched;
  BOOL     LineNumbers;
  BOOL     GlobalSymbols;
  BOOL     TypeInfo;
  BOOL     SourceIndexed;
  BOOL     Publics;
  DWORD    MachineType;
  DWORD    Reserved;
} IMAGEHLP_MODULEW64, *PIMAGEHLP_MODULEW64;
SizeOfStruct
The size of the structure, in bytes. The caller must set this member to sizeof(IMAGEHLP_MODULE64).
BaseOfImage
The base virtual address where the image is loaded.
ImageSize
The size of the image, in bytes.
TimeDateStamp
The date and timestamp 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 timestamp can be printed using the C run-time (CRT) function ctime.
CheckSum
The checksum of the image. This value can be zero.
NumSyms
The number of symbols in the symbol table. The value of this parameter is not meaningful when SymPdb is specified as the value of the SymType parameter.
SymType
The type of symbols that are loaded. This member can be one of the following values.
| Value | Meaning | 
|---|---|
| 
 | COFF symbols. | 
| 
 | CodeView symbols. | 
| 
 | Symbol loading deferred. | 
| 
 | DIA symbols. | 
| 
 | Symbols generated from a DLL export table. | 
| 
 | No symbols are loaded. | 
| 
 | PDB symbols. | 
| 
 | .sym file. | 
| 
 | The virtual module created by SymLoadModuleEx with SLMFLAG_VIRTUAL. | 
ModuleName[32]
The module name.
ImageName[256]
The image name. The name may or may not contain a full path.
LoadedImageName[256]
The full path and file name of the file from which symbols were loaded.
LoadedPdbName[256]
The full path and file name of the .pdb file.
CVSig
The signature of the CV record in the debug directories.
CVData[MAX_PATH * 3]
The contents of the CV record.
PdbSig
The PDB signature.
PdbSig70
The PDB signature (Visual C/C++ 7.0 and later)
PdbAge
The DBI age of PDB.
PdbUnmatched
A value that indicates whether the loaded PDB is unmatched.
DbgUnmatched
A value that indicates whether the loaded DBG is unmatched.
LineNumbers
A value that indicates whether line number information is available.
GlobalSymbols
A value that indicates whether symbol information is available.
TypeInfo
A value that indicates whether type information is available.
SourceIndexed
A value that indicates whether the .pdb supports the source server.
DbgHelp 6.1 and earlier: This member is not supported.
Publics
A value that indicates whether the module contains public symbols.
DbgHelp 6.1 and earlier: This member is not supported.
MachineType
TBD
Reserved
TBD
This structure supersedes the IMAGEHLP_MODULE structure. For more information, see Updated Platform Support. IMAGEHLP_MODULE is defined as follows in DbgHelp.h.
#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64)
#define IMAGEHLP_MODULE IMAGEHLP_MODULE64
#define PIMAGEHLP_MODULE PIMAGEHLP_MODULE64
#define IMAGEHLP_MODULEW IMAGEHLP_MODULEW64
#define PIMAGEHLP_MODULEW PIMAGEHLP_MODULEW64
#else
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;
typedef struct _IMAGEHLP_MODULEW {
    DWORD    SizeOfStruct;  
    DWORD    BaseOfImage; 
    DWORD    ImageSize;  
    DWORD    TimeDateStamp; 
    DWORD    CheckSum; 
    DWORD    NumSyms; 
    SYM_TYPE SymType; 
    WCHAR    ModuleName[32]; 
    WCHAR    ImageName[256]; 
    WCHAR    LoadedImageName[256]; 
} IMAGEHLP_MODULEW, *PIMAGEHLP_MODULEW;
#endif
| Requirement | Value | 
|---|---|
| Header | dbghelp.h | 
| Redistributable | DbgHelp.dll 5.1 or later | 
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in