0 out of 1 rated this helpful - Rate this topic

FatalAppExit function

Applies to: desktop apps only

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

Minimum supported server

Windows Server 2003

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

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
fatal app exit
void WINAPI FatalAppExit(
  __in  UINT uAction,
  __in  LPCTSTR lpMessageText
);