IDebugHostSymbol2 interface (dbgmodel.h)
An interface to a particular symbol.
This version 2 of the interface supports all of the previous methods with identical signatures and includes additional new methods that provide added functionality. The new methods are listed in the header at the end of the section for that interface.
Inheritance
IDebugHostSymbol2 inherits from IDebugHostSymbol.
Methods
The IDebugHostSymbol2 interface has these methods.
IDebugHostSymbol2::AddRef The IDebugHostSymbol2::AddRef method increments the reference count for an interface on an object. |
IDebugHostSymbol2::CompareAgainst The IDebugHostSymbol2::CompareAgainst method, when called on a symbol, compares the symbol against another specified symbol for interface pointer equality. |
IDebugHostSymbol2::EnumerateChildren The IDebugHostSymbol2::EnumerateChildren method gets an enumerator capable of enumerating all children of a given symbol. |
IDebugHostSymbol2::EnumerateChildrenEx Enumerates all child symbols of the given type, name, and extended information which is present. |
IDebugHostSymbol2::GetContainingModule The IDebugHostSymbol2::GetContainingModule method, when called on a symbol, gets the module that contains the symbol if the symbol has a containing module. |
IDebugHostSymbol2::GetContext The IDebugHostSymbol2::GetContext method, when called on a symbol, gets the host context in which the symbol is located. |
IDebugHostSymbol2::GetLanguage If the symbol can identify the language for which it applies, this returns an identifier for such. |
IDebugHostSymbol2::GetName The IDebugHostSymbol2::GetName method, when called on a symbol, gets the name of the symbol if it has a name. |
IDebugHostSymbol2::GetSymbolKind The IDebugHostSymbol2::GetSymbolKind method, when called on a symbol, gets the kind of symbol, such as field, base class, or type. |
IDebugHostSymbol2::GetType The IDebugHostSymbol2::GetType method, when called on a symbol, gets the type of symbol, such as int *. |
IDebugHostSymbol2::QueryInterface The IDebugHostSymbol2::QueryInterface method retrieves pointers to the supported interfaces on an object. |
IDebugHostSymbol2::Release The IDebugHostSymbol2::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 |