The FatalExit function transfers execution control to the debugger. The behavior of the debugger thereafter is specific to the type of debugger used.
VOID FatalExit(
  int ExitCode   // error code
);
 This function does not return a value.
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.
  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in winbase.h.
  Import Library: Use kernel32.lib.
Debugging Overview, Debugging Functions, FatalAppExit