IModelMethod interface (dbgmodel.h)
Represents a method which can be called.
Extensions which implement methods would implement this interface one or more times for the methods which it provides.
Inheritance
IModelMethod inherits from IUnknown.
Methods
The IModelMethod interface has these methods.
IModelMethod::AddRef The IModelMethod::AddRef method increments the reference count for an interface on an object. |
IModelMethod::Call The Call method is the way in which any method defined in the data model is invoked. |
IModelMethod::QueryInterface The IModelMethod::QueryInterface method retrieves pointers to the supported interfaces on an object. |
IModelMethod::Release The IModelMethod::Release method decrements the reference count for an interface on an object. |
Remarks
A method in the data model is an implementation of the IModelMethod interface which is boxed into an IModelObject. The model object will return a kind of ObjectMethod when queried and the intrinsic value is a VT_UNKNOWN which is guaranteed to be queryable for IModelMethod. In process, it is guaranteed to be statically castable to IModelMethod.
All methods in the data model are dynamic in nature. They take as input a set of 0 or more arguments and return a single output value. There is no overload resolution and no metadata about parameter names, types, or expectations.
Requirements
Requirement | Value |
---|---|
Header | dbgmodel.h |