Partager via


IRTCMessagingEvent::Message (Windows Embedded CE 6.0)

1/6/2010

This method gets the instant message sent by the remote user.

Syntax

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 Value

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

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IRTCMessagingEvent
IRTCMessagingEvent::MessageHeader

Other Resources

SysFreeString