This method disables the presence functionality on the client. The method closes the local store for buddies and watchers and destroys the buddy and watcher objects.
HRESULT DisablePresence();
Parameters
None.
Return Values
This method can return an RTC_E_ constant.
The following table shows additional information about a specific return value.
Value | Meaning |
---|---|
RTC_E_ROAMING_ENABLED | Presence cannot be disabled because roaming is enabled on the profile. |
Remarks
An application should call this method after the default presence profile has been unregistered with IRTCClientProvisioning::DisableProfile.
Requirements
OS Versions: Windows CE .NET 4.2 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.
See Also
IRTCClientPresence2 | IRTCClientPresence2::EnablePresenceEx | IRTCClientProvisioning::DisableProfile
Send Feedback on this topic to the authors