次の方法で共有


IRTCClientPresence2::DisablePresence (Windows Embedded CE 6.0)

1/6/2010

Note

This method is unsupported in Windows Embedded CE 6.0.

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.

Syntax

HRESULT DisablePresence();

Parameters

None.

Return Value

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

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

See Also

Reference

IRTCClientPresence2
IRTCClientPresence2::EnablePresenceEx
IRTCClientProvisioning::DisableProfile