IRTCMessagingEvent::Message (Windows CE 5.0)
This method gets the instant message sent by the remote user.
HRESULT get_Message(BSTR* pbstrMessage);
Parameters
- pbstrMessage
[out] Pointer to a BSTR that will be filled with the message text, or an empty string if there is no entry. The method allocates the buffer. The caller is responsible for releasing this memory with SysFreeString.
Return Values
This method can return an RTC_E_ constant. The following table shows an additional possible return value.
Value | Description |
---|---|
E_FAIL | No message was sent. |
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
IRTCMessagingEvent::MessageHeader | SysFreeString
Send Feedback on this topic to the authors