Microsoft DirectX 8.0 (C++) |
Executes a routine in the script.
HRESULT CallRoutine( WCHAR *pwszRoutineName, DMUS_SCRIPT_ERRORINFO *pErrInfo );
If the method succeeds, the return value is S_OK or DMUS_S_GARBAGE_COLLECTED. See Garbage Collection.
If the method fails, return values can include the following:
DMUS_E_NOT_INIT |
DMUS_E_SCRIPT_ERROR_IN_SCRIPT |
DMUS_E_SCRIPT_ROUTINE_NOT_FOUND |
E_POINTER |
Control does not return to the application until the routine finishes running.
Header: Declared in dmusici.h.