Compartilhar via


IRTCPresenceContact::Data (Windows CE 5.0)

Send Feedback

This method sets or gets the private data associated with this presence contact.

HRESULT put_Data( BSTRbstrData );HRESULT get_Data( BSTR*pbstrData );

Parameters

  • bstrData, pbstrData
    [in, out] The private data of the contact. On output, this parameter is a pointer to a BSTR that will be filled with the private data of the contact, 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 Description
E_FAIL There is no private data for this contact.

Requirements

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

See Also

IRTCPresenceContact | SysFreeString

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.