DWC_SetBuddyFriendCallback

C Specification

#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 after DWC_UpdateServersAsync has been called until synchronous processing of the friend roster is complete.

Arguments

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

Return Values

TRUE The callback function configuration was successful.
FALSE The configuration failed, because the FriendsMatch Library was not running.

See Also

DWC_UpdateServersAsync, DWCBuddyFriendCallback

Revision History

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