Retrieves information about an error that occurred while the scripting engine was running a script.
HRESULT GetExceptionInfo(
EXCEPINFO *pexcepinfo // structure for exception information
);
- pexcepinfo
[out] Address of an EXCEPINFO structure that receives error information.
Returns S_OK if successful, or E_FAIL if an error occurred.