RoReportFailedDelegate function (roerrorapi.h)
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 |