Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the behavior of the RoOriginateError and RoTransformError functions.
Syntax
typedef enum {
RO_ERROR_REPORTING_NONE = 0x00000000,
RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS = 0x00000001,
RO_ERROR_REPORTING_FORCEEXCEPTIONS = 0x00000002,
RO_ERROR_REPORTING_USESETERRORINFO = 0x00000004,
RO_ERROR_REPORTING_SUPPRESSSETERRORINFO = 0x00000008
} RO_ERROR_REPORTING_FLAGS;
Constants
RO_ERROR_REPORTING_NONE Value: 0x00000000 Error functions raise structured exceptions when a debugger is attached. |
RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS Value: 0x00000001 Error functions do not raise structured exceptions, even when a debugger is present. Override the behavior of this flag by setting the ForceExceptions flag. |
RO_ERROR_REPORTING_FORCEEXCEPTIONS Value: 0x00000002 Error functions raise structured exceptions, even if no debugger is present. This flag supercedes the RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS flag. If this flag is set, structured exceptions are raised even if the RO_ERROR_REPORTING_SUPPRESSEXCEPTIONS flag is set. |
RO_ERROR_REPORTING_USESETERRORINFO Value: 0x00000004 Error functions report error strings through a COM object that is attached to the COM channel through the SetRestrictedErrorInfo infrastructure. For the SetRestrictedErrorInfo call to succeed, the thread must be initialized into COM. |
RO_ERROR_REPORTING_SUPPRESSSETERRORINFO Value: 0x00000008 Error functions do not report error strings through a COM object that is attached to the COM channel through the SetRestrictedErrorInfo infrastructure. |
Remarks
Use the RO_ERROR_REPORTING_FLAGS enumeration with the RoSetErrorReportingFlags function to specify the behavior of the RoOriginateError, RoOriginateErrorW, RoTransformError, and RoTransformErrorW functions.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Header | roerrorapi.h |