Freigeben über


CONTEXT_INFO

This structure describes a memory context or code context.

typedef struct _tagCONTEXT_INFO { 
   CONTEXT_INFO_FIELDS dwFields;
   BSTR                bstrModuleUrl;
   BSTR                bstrFunction;
   TEXT_POSITION       posFunctionOffset;
   BSTR                bstrAddress;
   BSTR                bstrAddressOffset;
   BSTR                bstrAddressAbsolute;
} CONTEXT_INFO;
public struct CONTEXT_INFO {
   public uint          dwFields;
   public string        bstrModuleUrl;
   public string        bstrFunction;
   public TEXT_POSITION posFunctionOffset;
   public string        bstrAddress;
   public string        bstrAddressOffset;
   public string        bstrAddressAbsolute;
};

Members

  • dwFields
    A combination of flags from he CONTEXT_INFO_FIELDS enumeration that specifies which fields are filled out**.**

  • bstrModuleUrl
    The name of the module where the context is located.

  • bstrFunction
    The function name where the context is located.

  • posFunctionOffset
    A TEXT_POSITION structure that identifies the line and column offset of the function associated with the code context.

  • bstrAddress
    The address in code where the given context is located.

  • bstrAddressOffset
    The offset of the address in code where the given context is located.

  • bstrAddressAbsolute
    The absolute address in memory where the given context is located.

Remarks

This structure is returned from a call to the IDebugMemoryContext2::GetInfo method.

A typical use for this structure is in support of a Memory debug window.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Structures and Unions

IDebugMemoryContext2::GetInfo

CONTEXT_INFO_FIELDS

TEXT_POSITION