Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
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 |