IRTCBuddy::get_Persistent

The get_Persistent property gets the persistence type. This method retrieves the information set in the IRTCBuddy::put_persistent method.

HRESULT get_Persistent(VARIANT_BOOL*pfPersistent);

Parameters

  • pfPersistent
    [out] Pointer to a VARIANT_BOOL containing the persistence type.

Return Values

RTC methods may return an RTC_E_ constant.

Remarks

Buddies and Watchers are saved to persistent storage when presence is enabled with storage (see IRTCClientPresence::EnablePresence). The IRTCClientPresence::Export and IRTCClientPresence::Import methods will also save the contacts to a file that is not part of the persistent storage.

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_IRTCBuddy is defined as fcb136c8-7b90-4e0c-befe-56edf0ba6f1c.

See Also

IRTCBuddy, IRTCBuddy::put_Persistent, IRTCClientPresence::EnablePresence, IRTCClientPresence::Export, IRTCClientPresence::Import