Replies to a message sent from another thread by the SendMessage function.
BOOL ReplyMessage( LRESULT lResult );
The result of the message processing. The possible values are based on the message sent.
Type: Type: BOOL
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.
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.
For an example, see Sending a Message.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||winuser.h (include Windows.h)|