Export (0) Print
Expand All
Expand Minimize

RoGetErrorReportingFlags function

Gets the current reporting behavior of Windows Runtime error functions.

Syntax


HRESULT WINAPI RoGetErrorReportingFlags(
  _Out_  UINT32 *pflags
);

Parameters

pflags [out]

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 codeDescription
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.

Windows Phone 8: This API is supported.

Windows Phone 8.1: This API is supported.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Header

Roerrorapi.h

See also

RO_ERROR_REPORTING_FLAGS
RoSetErrorReportingFlags
RoOriginateError
RoTransformError

 

 

Community Additions

ADD
Show:
© 2014 Microsoft