Share via


IRTCClientPresence::SetLocalPresenceInfo (Windows Embedded CE 6.0)

1/6/2010

Note

This method is unsupported in Windows Embedded CE 6.0.

This method sets the local presence status.

All active watchers are instantly notified of the change.

This method sets information that can be retrieved from the IRTCBuddy::Notes and IRTCBuddy::Status methods.

Syntax

HRESULT SetLocalPresenceInfo(
  RTC_PRESENCE_STATUS enStatus,
  BSTR bstrNotes
);

Parameters

  • bstrNotes
    [in] Custom user-provided text that might have meaning for the active watchers.

Return Value

This method can return an RTC_E_ constant.

The following table shows an additional possible return value.

Value Meaning

E_INVALID_ARG

The bstrNotes parameter is too large.

This parameter is limited to 511 characters.

Requirements

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

See Also

Reference

IRTCClientPresence
IRTCBuddy::Notes
IRTCBuddy::Status
RTC_PRESENCE_STATUS