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

Developer

API Reference

IASARGS_GETCOUNT()

Brew Release
Brew MP 1.0.2
See Also
None
Description
This function may be called by an ActionScript extension to retrieve the number of arguments in an IASArgs object.
Interface
Prototype
  •    AEEResult IASArgs_GetCount( IASArgs *_pif,
                                   int32 *pnCount );
    
Return
  • AEE_SUCCESS on success. Appropriate error code otherwise.
Side Effect
  • None
Comments
This function may not be called outside of the extension's CallMethod or Initialize functions. The ActionScript extension function should already know the number of arguments that it is expecting. Checking the argument count can be used as an error check, or possibly used in branching the implementation.