다음을 통해 공유


IRTCSession::SendMessageStatus (Windows Embedded CE 6.0)

1/6/2010

This method sends a user's typing status for a messaging window. The session must be of type RTCST_IM or RTCST_MULTIPARTY_IM.

Syntax

HRESULT SendMessageStatus(
  RTC_MESSAGING_USER_STATUS enUserStatus,
  LONG_PTR lCookie
);

Parameters

  • lCookie
    [in] Pointer to an application-specified cookie used for pairing the notifications with the statuses sent.

Return Value

This method can return an RTC_E_ constant.

The following table shows additional information about specific return values.

Value Description

RTC_E_INVALID_SESSION_STATE

Message state must be RTCSS_INPROGRESS, RTCSS_INCOMING, or RTCSS_CONNECTED.

RTC_E_INVALID_SESSION_TYPE

Session must be of type RTCST_IM.

Remarks

Completion is notified with an RTCE_MESSAGING event of type RTCMSET_STATUS.

Ee500654.security(en-US,WinEmbedded.60).gifSecurity Note:
This method can send data over the network in unencrypted form. Therefore, someone eavesdropping on the network might be able to read the data. Before using this method in an unencrypted session, consider the security risk of sending the data in clear text. The application can encrypt an RTC session by specifying TLS in the profile used for the session.

Requirements

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

See Also

Reference

IRTCSession
IRTCSession::SendMessage
RTC_MESSAGING_USER_STATUS