#include <dwc.h>
BOOL DWC_SetFriendStatusCallback( DWCFriendStatusCallback callback, void* param );
This function configures the callback functions called when a friend's communication state changes. Refer to the description of the DWC_GetFriendStatus function for more details about the communication state.
These functions are usually set as the arguments of the friend list synchronous process DWC_UpdateServersAsync function. But, even when no friend list synchronous process is needed and there is a need to know the friend's communication state in realtime, use this function to configure the callback functions.
These callback functions are called each 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 |
The callback function configuration was successful. |
FALSE |
The configuration failed, because the FriendsMatch Library was not running. |
DWC_UpdateServersAsync, DWCFriendStatusCallback
01/18/2006 Initial version.