API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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.
Params
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.
Interface
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.
Comments
The pointer returned in 'ppif' is the same pointer originally stored into the model via IInterfaceModel_SetIPtr().