We recommend using Visual Studio 2017

_abnormal_termination

 

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 _abnormal_termination.

Indicates whether the __finally block of a try-finally statement is entered while the system is executing an internal list of termination handlers.

int   _abnormal_termination(  
   );  

true if the system is unwinding the stack; otherwise, false.

This is an internal function used to manage unwinding exceptions, and is not intended to be called from user code.

RoutineRequired header
_abnormal_terminationexcpt.h

try-finally Statement

Show: