Share via


IRTCBuddyGroup::RemoveBuddy

The RemoveBuddy method removes a buddy from this group.

HRESULT RemoveBuddy(IRTCBuddy*pBuddy);

Parameters

  • pBuddy
    [in] Pointer to the IRTCBuddy interface of the buddy to be removed.

Return Values

RTC methods may return an RTC_E_ constant.

Value Meaning
RTC_E_INVALID_OBJECT_STATE The buddy is not in the active state.
E_POINTER The pBuddy parameter is not a valid pointer.

Requirements

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::AddBuddy