IRTCClientPresence::SetLocalPresenceInfo (Windows CE 5.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.
HRESULT SetLocalPresenceInfo(RTC_PRESENCE_STATUS enStatus,BSTR bstrNotes);
Parameters
- enStatus
[in] An RTC_PRESENCE_STATUS enumeration value specifying the presence status. - bstrNotes
[in] Custom user-provided text that might have meaning for the active watchers.
Return Values
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
OS Versions: Windows CE .NET 4.0 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
IRTCClientPresence | IRTCBuddy::Notes | IRTCBuddy::Status | RTC_PRESENCE_STATUS
Send Feedback on this topic to the authors