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

Developer

API Reference

IOBSERVER_SETPROPERTY()

Brew Release
Brew MP 1.0.2
See Also
IObserver IObserver_GetProperty()
Description
This function sets the value of a specific property for the Observer. Observer may possess any number of properties.
Params
pif
[]:
[in] Pointer to the IObserver interface object.
propId
[]:
[in] Identifies the property whose value is to be set.
val
[]:
[in] The new value for observer's 'propID' property, expressed as a 32-bit unsigned integer.
Interface
Prototype
  •    int IObserver_SetProperty(IObserver* pif, uint16 propId, uint32 val)
    
Return
  •    AEE_SUCCESS - If observer is able to set the requested property.
       AEE_EFAILED - If the property could not be set.
    
Side Effect
  • None
Comments
Calling IObserver_SetProperty() has the same effect as processing an EVT_OBS_SETPROPERTY event.