#include <dwc.h>BOOL DWC_SetBuddyFriendCallback(DWCBuddyFriendCallback callback,
void *param);| callback | Pointer to the function to call when a friend relationship is established. |
| param | Callback parameter. |
| TRUE | The configuration of the callback function was successful. |
| FALSE | The configuration failed because the FriendsMatch Library was not running. |
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.
CONFIDENTIAL