RoGetErrorReportingFlags function (roerrorapi.h)

Gets the current reporting behavior of Windows Runtime error functions.

Syntax

HRESULT RoGetErrorReportingFlags(
  [out] UINT32 *pflags
);

Parameters

[out] 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

Requirement Value
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