Developer

API Reference

ITypedValueModel_SetBool()

Brew Release
Brew MP 1.0.2
See Also
- Model Events
- ITypedValueModel_SetValue()
Description
This function changes the value of the boolean data stored in a typed value model.
Parameters
  • pif
    []:
    [in] Pointer to the ITypedValueModel interface object.
  • bVal
    []:
    [in] The boolean value to be stored into the value model.
Prototype
   AEEResult ITypedValueModel_SetBool(ITypedValueModel *pif, int bVal) 
Return
   AEE_SUCCESS             : On success.
   Error code              : Otherwise.
Side Effect
Changing the value model by calling ITypedValueModel_SetValue() will cause the model to send an EVT_MDL_VALUE ModelEvent to any object that has registered as a listener with the model.
Comment
ITypedValueModel_SetBool() calls ITypedValueModel_SetValue().
  • Follow