IRTCPresenceStatusEvent::GetLocalPresenceInfo
The GetLocalPresenceInfo property returns the local presence information.
HRESULT GetLocalPresenceInfo(RTC_PRESENCE_STATUS*penStatus,
BSTR*pbstrNotes);
Parameters
- penStatus
[out] Pointer to an RTC_PRESENCE_STATUS enumeration containing the presence status. - pbstrNotes
[out] Pointer to a BSTR containing the presence information.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
E_POINTER | The penStatus or pbstrNotes parameter is not a valid pointer. |
E_OUTOFMEMORY | Insufficient memory to perform this operation. |
RTC_E_PLATFORM_NOT_SUPPORTED | The platform must be Windows 2000 or above. |
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_IRTCPresenceStatusEvent is defined as 78673F32-4A0F-462c-89AA-EE7706707678.