FatalExit function (winbase.h)
Transfers execution control to the debugger. The behavior of the debugger thereafter is specific to the type of debugger used.
__analysis_noreturn VOID FatalExit(
[in] int ExitCode
);
[in] ExitCode
The error code associated with the exit.
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.
Requirement | Value |
---|---|
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 |