IRTCClientPresence::Import (Windows Embedded CE 6.0)
1/6/2010
Note
This method is unsupported in Windows Embedded CE 6.0.
This method imports presence information, such as the buddy list and allowed or blocked watcher list.
Syntax
HRESULT Import(
VARIANT varStorage,
VARIANT_BOOL fReplaceAll
);
Parameters
varStorage
[in] The storage for the data to import.This variant can contain the following:
- A file name (BSTR)
- A DOMDocument object
- Any object that supports IStream, ISequentialStream, or IPersistStream
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 Value
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
Header | rtccore.h, rtccore.idl |
Library | uuid.lib |
Windows Embedded CE | Windows CE .NET 4.0 and later |
See Also
Reference
IRTCClientPresence
IRTCClientPresence::EnablePresence
IRTCClientPresence::Export