Developer

API Reference

ITypedValueModel_SetInt()

Brew Release
Brew MP 1.0.2
See Also
- Model Events
- ITypedValueModel_SetValue()
Description
This function changes the value of the integer data stored in a typed value model.
Parameters
  • pif
    []:
    [in] Pointer to the ITypedValueModel interface object.
  • nVal
    []:
    [in] The integer value to be stored into the value model.
Prototype
   AEEResult ITypedValueModel_SetInt(ITypedValueModel *pif, int nVal) 
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_SetInt() calls ITypedValueModel_SetValue().
  • Follow