Share via


IRTCPresenceDataEvent::GetPresenceData

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

Note

This method is unsupported in Windows Embedded CE 6.0.

This method retrieves presence data related to the completed operation.

Syntax

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 Value

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

Header rtccore.h, rtccore.idl
Library rtcdll.dll
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IRTCPresenceDataEvent

Other Resources

SysFreeString