Partager via


IRTCClientPresence::Import (Windows CE 5.0)

Send Feedback

This method imports presence information, such as the buddy list and allowed or blocked watcher list.

HRESULT Import(VARIANTvarStorage,VARIANT_BOOLfReplaceAll);

Parameters

  • varStorage
    [in] The storage for the data to import.

    This variant can contain the following:

  • fReplaceAll
    [in] VARIANT_TRUE if the new lists replace the current ones.

    VARIANT_FALSE if the new lists are merged with the current ones.

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_PRESENCE_NOT_ENABLED Presence must be enabled before calling this function.

Note   This policy is not enforced in RTC versions prior to RTC 1.1.

Remarks

The storage specified in this method is not persistent. For persistent storage, the application should use the IRTCClientPresence::EnablePresence method.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCClientPresence | IPersistStream | IRTCClientPresence::EnablePresence | IRTCClientPresence::Export | ISequentialStream | IStream

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.