IDebugHostField interface (dbgmodel.h)
Represents a field within a structure or class.
Inheritance
IDebugHostField inherits from IDebugHostSymbol.
Methods
The IDebugHostField interface has these methods.
IDebugHostField::AddRef The IDebugHostField::AddRef method increments the reference count for an interface on an object. |
IDebugHostField::EnumerateChildren The IDebugHostField::EnumerateChildren method gets an enumerator capable of enumerating all children of a given symbol. |
IDebugHostField::GetContainingModule The IDebugHostField::GetContainingModule method, when called on a symbol, gets the module that contains the symbol if the symbol has a containing module. |
IDebugHostField::GetContext The IDebugHostField::GetContext method, when called on a symbol, gets the host context in which the symbol is located. |
IDebugHostField::GetLocation For fields which have an address regardless of the particular type instance (e.g. fields whose location kind indicates LocationStatic), the GetLocation method will return the abstract location (address) of the field. |
IDebugHostField::GetLocationKind The IDebugHostField::GetLocationKind method, when called on a symbol, gets the kind of location the symbol is at according to the LocationKind enumeration. |
IDebugHostField::GetName The IDebugHostField::GetName method, when called on a symbol, gets the name of the symbol if it has a name. |
IDebugHostField::GetOffset For fields which have an offset, the GetOffset method will return the offset from the base address of the containing type to the data for the field itself. |
IDebugHostField::GetSymbolKind The IDebugHostField::GetSymbolKind method, when called on a symbol, gets the kind of symbol, such as field, base class, or type. |
IDebugHostField::GetType The IDebugHostField::GetType method, when called on a symbol, gets the type of symbol, such as int *. |
IDebugHostField::GetValue For fields which have a constant value defined within the symbolic information, the GetValue method will return the constant value of the field. |
IDebugHostField::QueryInterface The IDebugHostField::QueryInterface method retrieves pointers to the supported interfaces on an object. |
IDebugHostField::Release The IDebugHostField::Release method decrements the reference count for an interface on an object. |
Remarks
The IDebugHostField class represents a symbol which is a data member of a class, structure, union, or other type construct. It does not represent free data (e.g.: global data).
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |