Export (0) Print
Expand All

FatalAppExit function

Displays a message box and terminates the application when the message box is closed. If the system is running with a debug version of Kernel32.dll, the message box gives the user the opportunity to terminate the application or to cancel the message box and return to the application that called FatalAppExit.

Syntax


void WINAPI FatalAppExit(
  _In_  UINT uAction,
  _In_  LPCTSTR lpMessageText
);

Parameters

uAction [in]

This parameter must be zero.

lpMessageText [in]

The null-terminated string that is displayed in the message box.

Return value

This function does not return a value.

Remarks

An application calls FatalAppExit only when it is not capable of terminating any other way.

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

Unicode and ANSI names

FatalAppExitW (Unicode) and FatalAppExitA (ANSI)

See also

Error Handling Functions
FatalExit

 

 

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft