Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Import method imports presence information, such as the list of buddies and allowed/blocked watchers.
HRESULT Import(VARIANTvarStorage,
VARIANT_BOOLfReplaceAll);
Parameters
- varStorage
[in] Specifies the storage for the data to be imported. This variant can contain a file name (BSTR), a DOMDocument object, or any object that supports IStream, ISequentialStream, or IPersistStream. - fReplaceAll
[in] If VARIANT_TRUE, the new lists replace the current ones. If VARIANT_FALSE, the new lists are merged with the current ones.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
RTC_E_CLIENT_NOT_INITIALIZED | The client is not initialized. |
RTC_E_PRESENCE_NOT_ENABLED | Presence must be ebabled before calling this function.
RTC 1.0 and 1.01: This policy is not enforced. |
Remarks
The storage specified in this method is not for persistent storage. For permanent storage, see the IRTCClientPresence::EnablePresence method.
Requirements
Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClientPresence is defined as 11c3cbcc-0744-42d1-968a-51aa1bb274c6.