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 code | Description |
|---|---|
|
The error-reporting behavior was set successfully. |
|
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 |
|
See also
- RoGetErrorReportingFlags
- RO_ERROR_REPORTING_FLAGS
- RoSetErrorReportingFlags
- RoOriginateError
- RoTransformError