Site msdn.microsoft.com sendmessage




















An application that receives touch messages forwarded through one of these mechanisms owns the touch input handle it receives in the message LPARAM and is responsible for closing it. If you don't close the handle with a call to CloseTouchInputHandle , pass the message to DefWindowProc , or forward the message using SendMessage , PostMessage , or some related function, you will have a memory leak.

Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Sends an instant message to the participant s in a conversation.

Applications can use sendMessage to compose an outgoing instant message. This link is available only when the messaging modality is connected. The user must have at least one of these scopes for operations on the resource to be allowed. Scope Permission Description Conversations. Initiate Initiate conversations and join meetings Allows the app to initiate instant messages, audio, video, and desktop sharing conversations; and join meetings on-behalf of the signed-in user Conversations.

Receive Receive conversation invites Allows the app to receive instant messages, audio, video, and desktop sharing invitations on-behalf of the signed-in user. Passes a plain text body to the server and starts a message operation in the event channel. The errors below if any are specific to this resource. If the specified window was created by the calling thread, the window procedure is called immediately as a subroutine.

If the specified window was created by a different thread, the system switches to that thread and calls the appropriate window procedure. Messages sent between threads are processed only when the receiving thread executes message retrieval code.

The sending thread is blocked until the receiving thread processes the message. However, the sending thread will process incoming nonqueued messages while waiting for its message to be processed. For more information on nonqueued messages, see Nonqueued Messages. This functionality is not guaranteed to work for other types of applications. For an example, see Displaying Keyboard Input. Messages and Message Queues.



0コメント

  • 1000 / 1000