网站首页  词典首页

请输入您要查询的函数:

 

术语 replymessage
释义 ReplyMessage
语法:
BOOL ReplyMessage( LRESULT lResult
);
ReplyMessage功能
该ReplyMessage函数用于答复邮件通过SendMessage函数发送不控制返回给调用函数SendMessage消息。
参数
lResult
[in]指定消息的处理结果。可能的值是基于消息的发送。
返回值
如果调用线程处理消息是从另一个线程或进程,则返回值为非零发送。
如果不是调用线程处理消息从另一个线程或进程,返回值是零发送。
备注
通过调用此函数,窗口程序接收消息的线程可以调用SendMessage消息继续运行,但线程收到消息回来了控制。线程调用ReplyMessage功能也继续运行。
如果没有发送邮件通过SendMessage或如果该消息是由同一线程发送ReplyMessage没有效果。
例如
有关示例,请参阅发送一条消息。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
UnicodeImplemented为Unicode版本。
参见
消息和消息队列概述,InSendMessage,SendMessage消息
==英文原文==ReplyMessage Function
The ReplyMessage function is used to reply to a message sent through the SendMessage function without returning control to the function that called SendMessage.
Syntax
BOOL ReplyMessage( LRESULT lResult
);
Parameters
lResult
[in] Specifies the result of the message processing. The possible values are based on the message sent.
Return Value
If the calling thread was processing a message sent from another thread or process, the return value is nonzero.
If the calling thread was not processing a message sent from another thread or process, the return value is zero.
Remarks
By calling this function, the window procedure that receives the message allows the thread that called SendMessage to continue to run as though the thread receiving the message had returned control. The thread that calls the ReplyMessage function also continues to run.
If the message was not sent through SendMessage or if the message was sent by the same thread, ReplyMessage has no effect.
Example
For an example, see Sending a Message .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
UnicodeImplemented as Unicode version.
See Also
Messages and Message Queues Overview , InSendMessage , SendMessage
==原始网址==http://msdn.microsoft.com/en-us/library/ms644948(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:23:29