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 The configuration of the callback function was successful.
FALSE The configuration failed because the FriendsMatch Library was not running.

Description

This function 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 function has been received.

Revision History

2.0.0
Specification change.

CONFIDENTIAL