DWC_SetBuddyFriendCallback

Syntax

#include <dwc.h>

BOOL DWC_SetBuddyFriendCallback( DWCBuddyFriendCallback callback, void* param );

Description

Sets the callback function to call when a friend relationship is established. This callback function cannot be called during the time between DWC_UpdateServersAsync is called and the synchronous processing of the friend roster is completed.

Arguments

callback Pointer to the function to call when a friend relationship is established.
param Callback parameter.

Return Values

TRUE Configuration of the callback function was successful.
FALSE Configuration failed because the FriendsMatch Library was not running.

See Also

DWC_UpdateServersAsync
DWCBuddyFriendCallback

Revision History

2006/01/18 Added support for the change of the return value to a BOOL.
2005/12/16 Added a description of the callback.
2005/11/02 Initial version.


CONFIDENTIAL