Share via


IRTCClientPresence2::GetLocalPresenceInfo (Windows Embedded CE 6.0)

1/6/2010

This method is unsupported in Windows Embedded CE 6.0.

This method retrieves the application-specific information from the presence document.

Syntax

HRESULT GetLocalPresenceInfo(
  RTC_PRESENCE_STATUS* penStatus,
  BSTR* pbstrNotes
);

Parameters

  • penStatus
    [out] Pointer to an RTC_PRESENCE_STATUS enumeration value specifying the presence status.
  • pbstrNotes
    [out] Pointer to a BSTR that will be filled with notes about the presence status, 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 Value

This method can return an RTC_E_ constant.

The following table shows additional possible return values.

Value Meaning

E_OUTOFMEMORY

Insufficient memory to perform this operation.

E_POINTER

The penStatus parameter is not a valid pointer.

Requirements

Header rtccore.h, rtccore.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.2 and later

See Also

Reference

IRTCClientPresence2
RTC_PRESENCE_STATUS

Other Resources

SysFreeString