IRTCPresenceDataEvent::GetPresenceData (Windows CE 5.0)

Send Feedback

This method retrieves presence data related to the completed operation.

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

Parameters

  • pbstrNamespace
    [out] Pointer to a BSTR that will be filled with the presence namespace. 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 the data. 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 additional return values and additional information about a specific return value.

Value Meaning
E_OUTOFMEMORY Insufficient memory to perform this operation.
E_POINTER The pbstrNamespace or pbstrData parameter is not a valid pointer.
RTC_E_NOT_EXIST The data does not exist for this event.

Requirements

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

See Also

IRTCPresenceDataEvent | SysFreeString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.