IRTCWatcher::get_Name
The get_Name property gets the displayable name of the presence contact. This method returns the name set in IRTCWatcher::put_Name.
HRESULT get_Name(BSTR*pbstrName);
Parameters
- pbstrName
[out] Pointer to a BSTR containing the name. The caller is responsible for freeing this memory with SysFreeString.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
E_FAIL | The watcher has no name. |
Requirements
Client: Requires Windows XP.
Server: Requires Windows Server 2003.
Redistributable: Requires Rtcdll.dll on Windows 2000, and Windows Me/98.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCWatcher is defined as c7cedad8-346b-4d1b-ac02-a2088df9be4f.