RoReportUnhandledError function
Triggers the Global Error Handler when an unhandled exception occurs.
Syntax
HRESULT WINAPI RoReportUnhandledError( _In_ IRestrictedErrorInfo *pRestrictedErrorInfo );
Parameters
- pRestrictedErrorInfo [in]
-
The error to report. Call the GetRestrictedErrorInfo function to get the IRestrictedErrorInfo that represents the error.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The RoReportUnhandledError function enables language projections to trigger execution of the Global Error Handler when an exception reaches the top of the stack, which normally would terminate the application.
Requirements
|
Header |
|
|---|---|
|
Library |
|
|
DLL |
|
See also
Show: