Developer

API Reference

IInterfaceModel_SetIPtr()

Brew Release
Brew MP 1.0.2
See Also
- IInterfaceModel_GetIPtr
- Model Events
Description
This function changes the data stored in an interface model, and associates this data with a particular interface class ID to enforce strong data typing. The IInterface model does not make a copy of the data -- i.e. the data continues to be owned by the object that calls IInterfaceModel_SetIPtr().

Parameters
  • po
    []:
    [in] Pointer to the IInterfaceModel interface object.
  • piBase
    []:
    [in] Pointer to the data to be stored into the interface model.
  • clsidType
    []:
    [in] The class ID of the interface that is managing the data.
Prototype
   void IInterfaceModel_SetIPtr(IInterfaceModel *po, IBase *piBase, AEECLSID clsidType); 
Return
None
Side Effect
Changing the contents of an interface model by calling IInterfaceModel_SetIPtr() will cause BREW to send an EVT_MDL_VALUE ModelEvent to any object that has registered as a listener with the model.
Comment
None
  • Follow