#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 |
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. 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.
For the changelog prior to 5.1 PR2, click here.
CONFIDENTIAL