IRTCPresenceDataEvent::GetPresenceData

The GetPresenceData property returns the presence data.

HRESULT GetPresenceData(BSTR*pbstrNamespace,
BSTR*pbstrData);

Parameters

  • pbstrNamespace
    [out] Pointer to a BSTR containing the namespace.
  • pbstrData
    [out] Pointer to a BSTR containing the presence data.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
E_POINTER The pbstrNamespace or pbstrData parameter is not a valid pointer.
RTC_E_NOT_EXIST The data does not exist for this event
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_IRTCPresenceDataEvent is defined as 38F0E78C-8B87-4c04-A82D-AEDD83C909BB.

See Also

IRTCPresenceDataEvent