The get_Data property gets the private data associated with this group. This method retrieves the data added in IRTCBuddyGroup::put_Data.

HRESULT get_Data(BSTR*pbstrData);


  • pbstrData
    [out] Pointer to a BSTR where the data is returned. The caller is responsible for freeing this memory with SysFreeString.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
RTC_E_NOT_EXIST The data does not exist.
E_POINTER The pbstrData parameter is not a valid pointer.


Redistributable: Requires Rtcdll.dll on Windows 2000, Windows XP, and Windows Server 2003.
Header: Declared in Rtccore.h.
Library: Included as a resource in Rtcdll.dll.
GUID: IID_IRTCBuddyGroup is defined as 60361E68-9164-4389-A4C6-D0B3925BDA5E.

See Also

IRTCBuddyGroup, IRTCBuddy, IRTCBuddy2, IRTCBuddyGroup::put_Data