ADDRESS structure (dbghelp.h)

Represents an address. It is used in the STACKFRAME64 structure.

Syntax

typedef struct _tagADDRESS {
  DWORD        Offset;
  WORD         Segment;
  ADDRESS_MODE Mode;
} ADDRESS, *LPADDRESS;

Members

Offset

The offset into the segment, or a 32-bit virtual address. The interpretation of this value depends on the value contained in the Mode member.

Segment

The segment number. This value is used only for 16-bit addressing.

Mode

The addressing mode. This member can be one of the following values.

Value Meaning
AddrMode1616
0
16:16 addressing. To support this addressing mode, you must supply a TranslateAddressProc64 callback function.
AddrMode1632
1
16:32 addressing. To support this addressing mode, you must supply a TranslateAddressProc64 callback function.
AddrModeReal
2
Real-mode addressing. To support this addressing mode, you must supply a TranslateAddressProc64 callback function.
AddrModeFlat
3
Flat addressing. This is the only addressing mode supported by the library.

Remarks

This structure supersedes the ADDRESS structure. For more information, see Updated Platform Support. ADDRESS is defined as follows in DbgHelp.h.

#if !defined(_IMAGEHLP_SOURCE_) && defined(_IMAGEHLP64)
#define ADDRESS ADDRESS64
#define LPADDRESS LPADDRESS64
#else
typedef struct _tagADDRESS {
    DWORD         Offset;
    WORD          Segment;
    ADDRESS_MODE  Mode;
} ADDRESS, *LPADDRESS;
#endif

Requirements

Requirement Value
Header dbghelp.h
Redistributable DbgHelp.dll 5.1 or later

See also

STACKFRAME64