Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

RoSetErrorReportingFlags function

Sets the reporting behavior of Windows Runtime error functions.

Syntax


HRESULT WINAPI RoSetErrorReportingFlags(
  _In_ UINT32 flags
);

Parameters

flags [in]

Type: UINT32

A bitmask of RO_ERROR_REPORTING_FLAGS values.

Return value

Type: HRESULT

This function can return one of these values.

Return codeDescription
S_OK

The error-reporting behavior was set successfully.

E_INVALIDARG

flags has invalid or undefined bits set.

 

Remarks

Get the current reporting behavior of Windows Runtime error functions by calling the RoGetErrorReportingFlags function.

Requirements

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

Roapi.h

See also

RoGetErrorReportingFlags
RO_ERROR_REPORTING_FLAGS
RoSetErrorReportingFlags
RoOriginateError
RoTransformError

 

 

Show:
© 2017 Microsoft