Informs the host that the script has completed execution.

HRESULT OnScriptTerminate(
    VARIANT *pvarResult,   // address of script results
    EXCEPINFO *pexcepinfo  // address of structure with exception information
);

Parameters

pvarResult

[in] Address of a variable that contains the script result, or NULL if the script produced no result.

pexcepinfo

[in] Address of an EXCEPINFO structure that contains exception information generated when the script terminated, or NULL if no exception was generated.

Expand imageReturn Value

Expand imageRemarks

Expand imageSee Also