DWC_SetUserSendCallback

C Specification


#include <dwc.h>

BOOL DWC_SetUserSendCallback( DWCUserSendCallback callback );

				

Description

This function configures the data send complete 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 term "sent" does not guarantee delivery to the other host. It only means that data was passed to the low layer send function.

Arguments

callback Pointer to the send complete callback function.

Return Values

TRUE The callback function configuration was successful.
FALSE The configuration failed, because the FriendsMatch Library was not running.

See Also

DWC_SetUserRecvCallback, DWC_SendReliable, DWC_SendReliableBitmap, DWC_SendUnreliable, DWC_SendUnreliableBitmap, DWCUserSendCallback

Revision History

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