Share via


Fonction RoGetErrorReportingFlags (roerrorapi.h)

Obtient le comportement de création de rapports actuel de Windows Runtime fonctions d’erreur.

Syntaxe

HRESULT RoGetErrorReportingFlags(
  [out] UINT32 *pflags
);

Paramètres

[out] pflags

Type : UINT32*

Pointeur vers le masque de bits de RO_ERROR_REPORTING_FLAGS valeurs qui représente le comportement actuel de rapport d’erreurs.

Valeur retournée

Type : HRESULT

Cette fonction peut retourner l’une de ces valeurs.

Code de retour Description
S_OK
Le comportement de rapport d’erreurs a été récupéré avec succès.
E_POINTER
pflags a la valeur NULL.

Notes

Définissez le comportement de création de rapports de Windows Runtime fonctions d’erreur en appelant la fonction RoSetErrorReportingFlags.

Spécifications

   
Client minimal pris en charge Windows 8 [applications de bureau | Applications UWP]
Serveur minimal pris en charge Windows Server 2012 [applications de bureau | Applications UWP]
Plateforme cible Windows
En-tête roerrorapi.h

Voir aussi

RO_ERROR_REPORTING_FLAGS

RoOriginateError

RoSetErrorReportingFlags

RoTransformError