DWC_SetUserRecvCallback

Syntax

#include <dwc.h>
BOOL DWC_SetUserRecvCallback(DWCUserRecvCallback callback,
                             void *param);

Arguments

callback Pointer to the receive completion callback function.
param Receive completion callback parameter.

Return Values

TRUE Configuration of the callback function was successful.
FALSE The configuration failed because the FriendsMatch library was not running.

Description

Configures the receive completion callback. If a receive completion callback is set by this function, it will be called when data sent by the DWC_SendReliable, DWC_SendReliableBitmap, DWC_SendUnreliable, or DWC_SendUnreliableBitmap functions has been received.

Revision History

For the changelog prior to 5.1 PR2, click here.


CONFIDENTIAL