_get_unexpected
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at _get_unexpected.
Returns the termination routine to be called by unexpected
.
Syntax
unexpected_function _get_unexpected( void );
Return Value
Returns a pointer to the function registered by set_unexpected. If no function has been set, the return value may be used to restore the default behavior; this value may be NULL.
Requirements
Routine | Required header |
---|---|
_get_unexpected |
<eh.h> |
For additional compatibility information, see Compatibility in the Introduction.
.NET Framework Equivalent
Not applicable. To call the standard C function, use PInvoke
. For more information, see Platform Invoke Examples.
See Also
Exception Handling Routines
abort
set_terminate
terminate
unexpected