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

Developer

API Reference

ITRIGPLAYEREX_PUSHPARAM()

Brew Release
Brew MP 1.0.2
See Also
ITRIGPLAYEREX_PopParam()
Description
Pushes a parameter onto the Trigplayer's parameter stack.
Params
po
[]:
A pointer to an ITrigplayerEx object.
name
[]:
The parameter name.
pValue
[]:
A pointer to the parameter's value.

Interface
  • ITRIGPLAYEREX
Prototype
  •    int ITRIGPLAYEREX_PushParam(ITrigplayerEx* po, const AECHAR* name, const TrigmlValue* pValue);
    
Return
  •    A BREW error code.
    
Side Effect
  • None
Comments
This method pushes a named parameter onto Trigplayer's parameter stack. Between this call and the corresponding call to ITRIGPLAYEREX_PopParam(), the value supplied will be immediately subsituted for any references to the parameter in any newly-assigned attribute values, whether assigned by the parser, from script or by calling ITRIGMLELEMENT_SetAttribute() directly. After you have finished using the parameter, you must pop it from the stack by calling ITRIGPLAYEREX_PopParam(). Use this method with care; it is primarily intended for internal use.