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 The 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. After DWC_UpdateServersAsync has been called, this callback function cannot be called until synchronous processing of the friend roster is complete.

Revision History


CONFIDENTIAL