IRTCClientPresence::RemoveBuddy
The RemoveBuddy method removes a Buddy from the list of buddies.
HRESULT RemoveBuddy(IRTCBuddy*pBuddy);
Parameters
- pBuddy
[in] Contains the IRTCBuddy interface pointer of the Buddy to be removed.
Return Values
RTC methods may return an RTC_E_ constant.
Value | Meaning |
---|---|
RTC_E_CLIENT_NOT_INITIALIZED | The client is not initialized. |
RTC_E_PRESENCE_NOT_ENABLED | Presence is not enabled. |
Remarks
This function may send data over the wire in unencrypted form; therefore, someone eavesdropping on the network may be able to read the data. The security risk of sending the data in clear text should be considered before using this method in an unencrypted session. An RTC session can be encrypted by specifying TLS in the profile used for the session.
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_IRTCClientPresence is defined as 11c3cbcc-0744-42d1-968a-51aa1bb274c6.