FatalExit function

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

Syntax


void WINAPI FatalExit(
  _In_ int ExitCode
);

Parameters

ExitCode [in]

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]

Header

WinBase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

Communicating with the Debugger
Debugging Functions
FatalAppExit

 

 

Show: