RtfwSetExceptionHandling
RtfwSetExceptionHandling sets the exception handling behavior of the RTX64 Subsystem.
Syntax
bool RtfwSetExceptionHandling( RTFW_EXCEPTION_HANDLING exceptionHandling );
Parameters
exceptionHandling
Specifies a RTFW_EXCEPTION_HANDLING value that identifies the exception handling behavior to use for the Subsystem.
Return Value
The function returns true if it succeeds. Otherwise, it returns false. Call GetLastError for additional error information.
Possible error codes:
Error Code | Meaning |
---|---|
ERROR_INVALID_PARAMETER | Parameter exceptionHandling is not a valid enumerator value. |
RT_ERROR_RESTART_SUBSYSTEM |
The Subsystem was running when this function succeeded. RtfwRestartRequired will report that the RTX64 Subsystem must be restarted. NOTE: The RTX64 Subsystem must be restarted for the change to take effect. |
Requirements
Minimum Required Version | RTX64 3.4 |
Header | RtfwAPI.h |
Library | RtfwAPI.lib |
See Also:
Configuring Exception Support