IRTCPresenceContact::Name

This method sets or gets the displayable name of the presence contact.

HRESULT put_Name( 
  BSTR bstrName 
);
HRESULT get_Name( 
  BSTR* pbstrName 
);

Parameters

  • bstrName, pbstrName
    [in, out] The displayable name of the contact. On output, this parameter is a pointer to a BSTR that will be filled with the displayable name, 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 the possible return values.

Value Description
E_FAIL There is no name for this contact.

Requirements

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

See Also

Communications Service | IRTCPresenceContact | SysFreeString

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.