Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft