FatalExit function

Transfers execution control to the debugger. The behavior of the debugger thereafter is specific to the type of debugger used.

Syntax

__analysis_noreturn VOID FatalExit(
  int ExitCode
);

Parameters

ExitCode

The error code associated with the exit.

Return Value

This function does not return a value.

Remarks

An application should only use FatalExit for debugging purposes. It should not call the function in a retail version of the application because doing so will terminate the application.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header winbase.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll

See Also

Communicating with the Debugger

Debugging Functions

FatalAppExit