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 |
|
|
Library |
|
|
DLL |
|
|
Unicode and ANSI names |
FatalAppExitW (Unicode) and FatalAppExitA (ANSI) |
See also