RoGetErrorReportingFlags function

Gets the current reporting behavior of Windows Runtime error functions.

Syntax

HRESULT RoGetErrorReportingFlags(
  UINT32 *pflags
);

Parameters

pflags

Type: UINT32*

A pointer to the bitmask of RO_ERROR_REPORTING_FLAGS values that represents the current error-reporting behavior.

Return Value

Type: HRESULT

This function can return one of these values.

Return code Description
S_OK
The error-reporting behavior was retrieved successfully.
E_POINTER
pflags is NULL.

Remarks

Set the reporting behavior of Windows Runtime error functions by calling the RoSetErrorReportingFlags function.

Requirements

   
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header roerrorapi.h

See Also

RO_ERROR_REPORTING_FLAGS

RoOriginateError

RoSetErrorReportingFlags

RoTransformError