DWC_SetBuddyFriendCallback

Syntax

#include <dwc.h>
BOOL DWC_SetBuddyFriendCallback(DWCBuddyFriendCallback callback,
                                void *param);

Arguments

callback Pointer to the function to call when a friend relationship is established.
param Callback parameter.

Return Values

TRUE Configuration of the callback function was successful.
FALSE The configuration failed because the FriendsMatch library was not running.

Description

Sets the callback function to call when a friend relationship is established. This callback function cannot be called during the time between when DWC_UpdateServersAsync is called and the synchronous processing of the friend roster is completed.

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL