Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Triggers the Global Error Handler when a delegate failure occurs.
Syntax
HRESULT RoReportFailedDelegate(
[in] IUnknown *punkDelegate,
[in] IRestrictedErrorInfo *pRestrictedErrorInfo
);
Parameters
[in] punkDelegate
The delegate to report.
[in] pRestrictedErrorInfo
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.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | roerrorapi.h |
Library | RuntimeObject.lib |