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

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