This function is deprecated due to the use of the mod1 incompatbile MALLOC call. Although no replacement is currently provided, a mod1 compatible (IEnv based) method will be provided as IValueModel_SetText in future releases.
int IVALUEMODEL_SetText(IValueModel *pif, const AECHAR *pwText, int nLen);
AEE_SUCCESS -- If the text was stored successfully in the value model. ENOMEMORY -- If the value model was unable to allocate storage for the text.
- Changing the text stored in the value model by calling IValueModel_SetText() will cause
BREW to send an EVT_MDL_VALUE ModelEvent to any object that has registered as a listener
with the model.
IValueModel_SetText() calls IValueModel_SetValue().