Export (0) Print
Expand All
Expand Minimize

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.

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

Roapi.h

See also

RoGetErrorReportingFlags
RO_ERROR_REPORTING_FLAGS
RoSetErrorReportingFlags
RoOriginateError
RoTransformError

 

 

Community Additions

ADD
Show:
© 2014 Microsoft