IHostDataModelAccess interface (dbgmodel.h)

When DebugExtensionInitialize is called, it creates a debug client and gets access to the data model. Such access is provided by a bridge interface between the legacy IDebug* interfaces of Debugging Tools for Windows and the data model. This bridge interface is IHostDataModelAccess.

Inheritance

IHostDataModelAccess inherits from IUnknown.

Methods

The IHostDataModelAccess interface has these methods.

 
IHostDataModelAccess::AddRef

The IHostDataModelAccess::AddRef method increments the reference count for an interface on an object.
IHostDataModelAccess::GetDataModel

The GetDataModel method is the method on the bridge interface which provides access to both sides of the data model.
IHostDataModelAccess::QueryInterface

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

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

Remarks

An interface suggested on the per-host extensibility mechanism to get from the host extensibility mechanism to the model based one. Extensions which are written to a host-specific API set can query this mechanism to get to the data model and create host-agnostic extensions.

As an example, DbgEng based extensions can query for this interface from any IDebug* (Client/Control/etc...) interface to get to the model and access model APIs. Such extensions are hybrid (they are still specific to a particular host but contain portions that may be factored out later for a general model based extension).

This is the ONLY interface in this set of APIs which is not intended to be host agnostic.

Requirements

Requirement Value
Header dbgmodel.h

See also

Debugger Data Model C++ Overview