Condividi tramite


Funzione RoReportFailedDelegate (roerrorapi.h)

Attiva il gestore errori globale quando si verifica un errore delegato.

Sintassi

HRESULT RoReportFailedDelegate(
  [in] IUnknown             *punkDelegate,
  [in] IRestrictedErrorInfo *pRestrictedErrorInfo
);

Parametri

[in] punkDelegate

Delegato al report.

[in] pRestrictedErrorInfo

Errore da riportare. Chiamare la funzione GetRestrictedErrorInfo per ottenere IRestrictedErrorInfo che rappresenta l'errore.

Valore restituito

Se questa funzione ha esito positivo, restituisce S_OK. In caso contrario, restituisce un codice di errore HRESULT .

Requisiti

Requisito Valore
Piattaforma di destinazione Windows
Intestazione roerrorapi.h
Libreria RuntimeObject.lib