RoSetErrorReportingFlags function (roerrorapi.h)
Sets the reporting behavior of Windows Runtime error functions.
Syntax
HRESULT RoSetErrorReportingFlags(
[in] UINT32 flags
);
Parameters
[in] flags
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
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 (include Roapi.h) |