Partager via


IRTCMessagingEvent::Message

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 the possible return values.

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

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.