请输入您要查询的百科知识:

 

词条 FatalAppExit
释义

FatalAppExit 函数

The 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.

定义

void FatalAppExit(UINT uAction, LPCTSTR lpMessageText);

参数

uAction

Reserved; must be zero.

lpMessageText

Pointer to a null-terminated string that is displayed in the message box.

返回值

This function does not return a value.

说明

An application calls FatalAppExit only when it is not capable of terminating any other way. FatalAppExit may not always free an application's memory or close its files, and it may cause a general failure of the system. An application that encounters an unexpected error should terminate by freeing all its memory and returning from its main message loop.

系统要求

Client: Requires Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server.

Header: Declared in Winbase.h; include Windows.h.

Library: Link to Kernel32.lib.

DLL: Requires Kernel32.dll.

Unicode: Implemented as FatalAppExitW (Unicode) and FatalAppExitA (ANSI). Note that Unicode support on Windows Me/98/95 requires Microsoft Layer for Unicode.

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/1/30 14:10:05