Compartilhar via


IRTCClientPresence2::GetPresenceData (Windows CE 5.0)

Send Feedback

This method retrieves application-specific information included in the presence document.

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

Parameters

  • pbstrNamespace
    [out] Pointer to a BSTR that will be filled with the unique name for the presence property data, or an empty string if there is no entry.

    The method allocates the buffer.

    The caller is responsible for releasing this memory with SysFreeString.

  • pbstrData
    [out] Pointer to a BSTR that will be filled with application-specific information that is included in the presence document, or an empty string if there is no entry.

    The method allocates the buffer.

    The caller is responsible for releasing this memory with SysFreeString.

Return Values

This method can return an RTC_E_ constant.

The following table shows an additional possible return value.

Value Meaning
E_OUTOFMEMORY Insufficient memory to perform this operation.

Requirements

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

See Also

IRTCClientPresence2 | IRTCClientPresence2::SetPresenceData | SysFreeString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.