Share via


DEBUG_REFERENCE_INFO

Describes a reference.

typedef struct tagDEBUG_REFERENCE_INFO { 
   DEBUGREF_INFO_FLAGS dwFields;
   BSTR                bstrName;
   BSTR                bstrType;
   BSTR                bstrValue;
   DBG_ATTRIB_FLAGS    dwAttrib;
   REFERENCE_TYPE.     dwRefType;
   IDebugReference2*   m_pReference;
} DEBUG_REFERENCE_INFO;
public struct DEBUG_REFERENCE_INFO { 
   public uint             dwFields;
   public string           bstrName;
   public string           bstrType;
   public string           bstrValue;
   public ulong            dwAttrib;
   public uint.            dwRefType;
   public IDebugReference2 m_pReference;
};

Members

  • dwFields
    A combination of flags from the DEBUGREF_INFO_FLAGS enumeration that specifies which fields are filled out.

  • bstrName
    The user-specified name of the IDebugReference2 object.

  • bstrType
    The reference type as a formatted string.

  • bstrValue
    The reference value as a formatted string

  • dwAttrib
    A combination of flags from the DBG_ATTRIB_FLAGS enumeration that specifies the flags for the debug property attributes.

  • dwRefType
    A value from the REFERENCE_TYPE enumeration that specifies whether the reference type is strong or weak.

  • m_pReference
    An IDebugReference2 object that specifies the reference information.

Remarks

This structure is passed to a call to the IDebugReference2::GetReferenceInfo method to be filled in. This structure is also returned as part of a list from the IEnumDebugReferenceInfo2 interface which, in turn, is returned from a call to the IDebugReference2::EnumChildren method.

Requirements

Header: msdbg.h

Namespace: Microsoft.VisualStudio.Debugger.Interop

Assembly: Microsoft.VisualStudio.Debugger.Interop.dll

See Also

Reference

Structures and Unions

IDebugReference2

DEBUGREF_INFO_FLAGS

DBG_ATTRIB_FLAGS

REFERENCE_TYPE

IDebugReference2::GetReferenceInfo

IDebugReference2::EnumChildren

IEnumDebugReferenceInfo2