IRTCPresenceDevice::GetPresenceData

This method retrieves the presence data for this device. This is application-specific data included in the presence document, including the namespace and XML data. The presence data is set using IRTCClientPresence2::SetPresenceData.

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

Parameters

  • pbstrNamespace
    [out] Pointer to a BSTR that will be filled with the namespace, or an empty string if there is no entry. The method is responsible for allocating the buffer. The application is responsible for releasing this memory with SysFreeString.
  • pbstrData
    [out] Pointer to a BSTR that will be filled with the enhanced presence data, or an empty string if there is no entry. The method is responsible for allocating the buffer. The application is responsible for releasing this memory with SysFreeString.

Return Values

This method can return an RTC_E_ constant.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Rtccore.h, Rtccore.idl.
Link Library: Uuid.lib.

See Also

IRTCClientPresence2::SetPresenceData | IRTCPresenceDevice | SysFreeString

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.