IRTCClientPresence2::GetLocalPresenceInfo (Windows CE 5.0)

Send Feedback

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

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 Values

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

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

See Also

IRTCClientPresence2 | RTC_PRESENCE_STATUS | SysFreeString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.