术语 | insendmessageex |
释义 | InSendMessageEx 语法: DWORD InSendMessageEx( LPVOID lpReserved ); InSendMessageEx功能 该InSendMessageEx函数确定是否当前窗口的程序正在处理已发送从另一个线程(在同一进程中或不同的进程的信息)。 参数 lpReserved 版权所有;必须为NULL。 返回值 如果邮件没有发送,则返回值为ISMEX_NOSEND。否则,返回值是一个或多个下列值。 ISMEX_CALLBACKThe邮件发送使用SendMessageCallback功能。线程发送该消息不会被阻止。 ISMEX_NOTIFYThe邮件发送使用SendNotifyMessage功能。线程发送该消息不会被阻止。 ISMEX_REPLIEDThe窗口程序处理的信息。线程发送的消息不再受阻。 ISMEX_SENDThe邮件发送使用SendMessage或SendMessageTimeout功能。如果ISMEX_REPLIED没有设置,线程发送该消息被封锁。 备注 要确定是否发送受阻,使用下面的测试: fBlocked =(InSendMessageEx(空)及(ISMEX_REPLIED | ISMEX_SEND))== ISMEX_SEND; 功能信息 最低DLL版本 user32.dll 在Winuser.h中HeaderDeclared,头文件:winuser.h import libraryUser32.lib 最低经营systemsWindows 98时,Windows 2000 参见 消息和消息队列概述,SendMessage消息,SendMessageCallback,SendMessageTimeout,SendNotifyMessage ==英文原文==InSendMessageEx Function The InSendMessageEx function determines whether the current window procedure is processing a message that was sent from another thread (in the same process or a different process). Syntax DWORD InSendMessageEx( LPVOID lpReserved ); Parameters lpReserved Reserved; must be NULL. Return Value If the message was not sent, the return value is ISMEX_NOSEND. Otherwise, the return value is one or more of the following values. ISMEX_CALLBACKThe message was sent using the SendMessageCallback function. The thread that sent the message is not blocked. ISMEX_NOTIFYThe message was sent using the SendNotifyMessage function. The thread that sent the message is not blocked. ISMEX_REPLIEDThe window procedure has processed the message. The thread that sent the message is no longer blocked. ISMEX_SENDThe message was sent using the SendMessage or SendMessageTimeout function. If ISMEX_REPLIED is not set, the thread that sent the message is blocked. Remarks To determine if the sender is blocked, use the following test: fBlocked = ( InSendMessageEx(NULL) & (ISMEX_REPLIED|ISMEX_SEND) ) == ISMEX_SEND; Function Information Minimum DLL Versionuser32.dll HeaderDeclared in Winuser.h, include Windows.h Import libraryUser32.lib Minimum operating systemsWindows 98, Windows 2000 See Also Messages and Message Queues Overview , SendMessage , SendMessageCallback , SendMessageTimeout , SendNotifyMessage ==原始网址==http://msdn.microsoft.com/en-us/library/ms644942(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。