ADDRESS_KIND

Specifies the kinds of addresses.

Syntax

public enum enum_ADDRESS_KIND {
    ADDRESS_KIND_NATIVE                  = 0x0001,
    ADDRESS_KIND_UNMANAGED_THIS_RELATIVE = 0x0002,
    ADDRESS_KIND_UNMANAGED_PHYSICAL      = 0x0005,
    ADDRESS_KIND_METADATA_METHOD         = 0x0010,
    ADDRESS_KIND_METADATA_FIELD          = 0x0011,
    ADDRESS_KIND_METADATA_LOCAL          = 0x0012,
    ADDRESS_KIND_METADATA_PARAM          = 0x0013,
    ADDRESS_KIND_METADATA_ARRAYELEM      = 0x0014,
    ADDRESS_KIND_METADATA_RETVAL         = 0x0015,
};

Fields

ADDRESS_KIND_NATIVE
A native address, represented by the NATIVE_ADDRESS structure.

ADDRESS_KIND_UNMANAGED_THIS_RELATIVE
An unmanaged address relative to a this (Me in Visual Basic) pointer and represented by the UNMANAGED_ADDRESS_THIS_RELATIVE structure.

ADDRESS_KIND_UNMANAGED_PHYSICAL
An unmanaged physical address, represented by the UNMANAGED_ADDRESS_PHYSICAL structure.

ADDRESS_KIND_METHOD
A method of a class, represented by the METADATA_ADDRESS_METHOD structure.

ADDRESS_KIND_FIELD
A field of a class, represented by the METADATA_ADDRESS_FIELD structure.

ADDRESS_KIND_LOCAL
The address is for a local variable and is represented by the METADATA_ADDRESS_LOCAL structure.

ADDRESS_KIND_PARAM
A method or function parameter, represented by the METADATA_ADDRESS_PARAM structure.

ADDRESS_KIND_ARRAYELEM
An array element, represented by the METADATA_ADDRESS_ARRAYELEM structure.

ADDRESS_KIND_RETVAL
A return value, represented by the METADATA_ADDRESS_RETVAL structure.

Remarks

The GetAddress method returns the DEBUG_ADDRESS structure which contains a union of possible structures, the DEBUG_ADDRESS_UNION structure. The dwKind field of the DEBUG_ADDRESS_UNION structure holds the ADDRESS_KIND value and describes how to interpret the union field.

Requirements

Header: sh.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See also