Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RoReportFailedDelegate function

Triggers the Global Error Handler when a delegate failure occurs.

Syntax


HRESULT WINAPI RoReportFailedDelegate(
  _In_ IUnknown             *punkDelegate,
  _In_ IRestrictedErrorInfo *pRestrictedErrorInfo
);

Parameters

punkDelegate [in]

The delegate to report.

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.

Requirements

Header

Roerrorapi.h

Library

RuntimeObject.lib

 

 

Show: