Developer

API Reference

IInterfaceModel_GetIPtr()

Brew Release
Brew MP 1.0.2
See Also
- IInterfaceModel Interface
- IInterfaceModel_SetIPtr()
- IBase_AddRef()
Description
This function retrieves data stored in an interface model.
Parameters
  • po
    []:
    Pointer to the IInterfaceModel interface object.
  • clsid
    []:
    The class ID of the interface that is managing the data.
  • ppif
    []:
    Pointer to a pointer returned by IInterfaceModel_GetIPtr that references the data stored in the interface model.
Prototype
int IInterfaceModel_GetIPtr(IInterfaceModel *po, AEECLSID clsid, void **ppif)
Return
   AEE_SUCCESS          - The data was successfully retrieved from the interface model.
   ECLASSNOTSUPPORT - Requested interface is unsupported
Side Effect
IInterfaceModel_GetIPtr() will call IBASE_AddRef.
Comment
The pointer returned in 'ppif' is the same pointer originally stored into the model via IInterfaceModel_SetIPtr().
  • Follow