IDebugHostSymbol interface (dbgmodel.h)

An interface to a particular symbol.

Inheritance

IDebugHostSymbol inherits from IUnknown.

Methods

The IDebugHostSymbol interface has these methods.

 
IDebugHostSymbol::AddRef

The IDebugHostSymbol::AddRef method increments the reference count for an interface on an object.
IDebugHostSymbol::CompareAgainst

The IDebugHostSymbol::CompareAgainst method, when called on a symbol, compares the symbol against another specified symbol for interface pointer equality.
IDebugHostSymbol::EnumerateChildren

The IDebugHostSymbol::EnumerateChildren method gets an enumerator capable of enumerating all children of a given symbol.
IDebugHostSymbol::GetContainingModule

The IDebugHostSymbol::GetContainingModule method, when called on a symbol, gets the module that contains the symbol if the symbol has a containing module.
IDebugHostSymbol::GetContext

The IDebugHostSymbol::GetContext method, when called on a symbol, gets the host context in which the symbol is located.
IDebugHostSymbol::GetName

The IDebugHostSymbol::GetName method, when called on a symbol, gets the name of the symbol if it has a name.
IDebugHostSymbol::GetSymbolKind

The IDebugHostSymbol::GetSymbolKind method, when called on a symbol, gets the kind of symbol, such as field, base class, or type.
IDebugHostSymbol::GetType

Returns the type e.g. int * of the symbol if the symbol has a type. If the symbol does not have a type, an error is returned.
IDebugHostSymbol::QueryInterface

The IDebugHostSymbol::QueryInterface method retrieves pointers to the supported interfaces on an object.
IDebugHostSymbol::Release

The IDebugHostSymbol::Release method decrements the reference count for an interface on an object.

Remarks

Every symbol that can be returned from the data model host will derive in some fashion from IDebugHostSymbol. This is the core interface that every symbol implements regardless of the kind of symbol. Depending on the kind of symbol, a given symbol may implement a set of other interfaces which return attributes more unique to the particular kind of symbol represented by this interface.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview