typedef struct _IMAGEHLP_SYMBOL {
DWORD SizeOfStruct;
DWORD Address;
DWORD Size;
DWORD Flags;
DWORD MaxNameLength;
CHAR Name[1];
} IMAGEHLP_SYMBOL, *PIMAGEHLP_SYMBOL;
Members
SizeOfStruct
The caller must set this to sizeof(IMAGEHLP_SYMBOL).
Address
The virtual address for the symbol.
Size
The size of the symbol. This value is a best guess and can be zero.
Flags
A mask containing extra information about the symbol.
#define SYMF_OMAP_GENERATED 0x00000001
#define SYMF_OMAP_MODIFIED 0x00000002
MaxNameLength
The caller must set this value to the maximum length that the Name member can contain. Because symbol names can vary in length, this data structure is allocated by the caller. This member is used so IMAGEHLP knows how much memory is available for use by the symbol name.
Name
This is a null-terminated ASCII string containing either the decorated or undecorated symbol name. If the buffer is not large enough for the complete symbol, then the name is truncated to MaxNameLength length.