DWC_SetUserSendCallback

Syntax


#include <dwc.h>

BOOL DWC_SetUserSendCallback( DWCUserSendCallback callback );

				

Description

This function configures the data send completion callback. If a send complete callback was set by this function, the callback will be called when data has been sent from DWC_SendReliable, DWC_SendReliableBitmap, DWC_SendUnreliable, or DWC_SendUnreliableBitmap. However, the send completion does not guarantee delivery to the communication partner and only means that data was passed to a low-layer send function.

Arguments

callback Pointer to the send completion callback function.

Return Values

TRUE Configuration of the callback function was successful.
FALSE Configuration failed because the FriendsMatch Library was not running.

See Also

DWC_SetUserRecvCallback
DWC_SendReliable
DWC_SendReliableBitmap
DWC_SendUnreliable
DWC_SendUnreliableBitmap
DWCUserSendCallback

Revision History

2006/02/21 Revised to include all function names.
2006/01/18 Added support for change in return value to a Boolean value.
2005/12/16 Added a description of the sent callback.
2005/07/22 Initial version.


CONFIDENTIAL