IRTCClientPresence2::GetLocalPresenceInfo

The GetLocalPresenceInfo method retrieves the application-specific information from the presence document.

HRESULT GetLocalPresenceInfo(RTC_PRESENCE_STATUS*penStatus,
BSTR*bstrNotes);

Parameters

  • penStatus
    [out] Pointer to an RTC_PRESENCE_STATUS enumeration containing presence status.
  • bstrNotes
    [out] Pointer to a BSTR containing the presence notes.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
RTC_E_CLIENT_NOT_INITIALIZED The client object has not been initialized.
E_OUTOFMEMORY Insufficient memory to perform this operation.
E_POINTER The penStatus parameter is not a valid pointer.

Requirements

Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCClientPresence2 is defined as AD1809E8-62F7-4783-909A-29C9D2CB1D34.

See Also

IRTCClientPresence2