Platform SDK: Debugging and Error Handling

ADDRESS

The ADDRESS structure represents an address. It is used in the STACKFRAME structure.

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

Win64: This structure is defined as follows.

typedef struct _tagADDRESS64 {
    DWORD64      Offset;
    WORD         Segment;
    ADDRESS_MODE Mode;
} ADDRESS64, *LPADDRESS64;

Members

Offset
Specifies either an 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
Specifies the segment number. This value is used only for 16-bit addressing.
Mode
Specifies the addressing mode. This member can be one of the following values.
Value Meaning
AddrMode1616 16:16 addressing. To support this addressing mode, you must supply a TranslateAddressProc callback function.
AddrMode1632 16:32 addressing. To support this addressing mode, you must supply a TranslateAddressProc callback function.
AddrModeReal Real-mode addressing. To support this addressing mode, you must supply a TranslateAddressProc callback function.
AddrModeFlat Flat addressing. This is the only addressing mode supported by the library.

Requirements

  Windows NT/2000: Requires Windows NT 3.51 or later.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in Dbghelp.h.

See Also

Debug Help Library Overview, DbgHelp Structures