DWCBuddyFriendCallback

Syntax

#include <dwc.h>
typedef void(*) DWCBuddyFriendCallback(int index,
             void *param);

Arguments

index Index of the friend roster where a friend relationship has been established.
param Parameter for the callback specified by DWC_SetBuddyFriendCallback.

Return Values

None.

Description

Called when a friend relationship is established on the GameSpy server. However, this callback cannot be called in the interval between the call to the DWC_UpdateServersAsync function and the completion of friend roster synchronization.

To set this callback function, use the DWC_SetBuddyFriendCallback function.

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL