#include <dwc.h>
BOOL DWC_SetUserSendCallback( DWCUserSendCallback callback );
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.
callback |
Pointer to the send complete callback function. |
TRUE |
The callback function configuration was successful. |
FALSE |
The configuration failed, because the FriendsMatch Library was not running. |
DWC_SetUserRecvCallback, DWC_SendReliable, DWC_SendReliableBitmap, DWC_SendUnreliable, DWC_SendUnreliableBitmap, DWCUserSendCallback
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