#include <dwc.h>
BOOL DWC_SetFriendStatusCallback( DWCFriendStatusCallback callback, void* param );
This function configures the callback functions that are called when a friend's communication state changes. For more details about the communication state, refer to the description of the DWC_GetFriendStatus function.
These functions are usually set as the arguments of the friend list synchronization process function, DWC_UpdateServersAsync. Even when no friend list synchronization process is needed, this function can be used to determine the friend's communication state in real time, by configuring the callback functions.
These callback functions are called every time a friend's communication state changes.
callback |
Pointer to the callback function that notifies the user about changes to friend status. |
param |
Callback parameter. |
TRUE |
Configuration of the callback function was successful. |
FALSE |
Configuration failed because the FriendsMatch Library was not running. |
DWC_UpdateServersAsync
DWCFriendStatusCallback
2006/01/18 Initial version.
CONFIDENTIAL