1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META http-equiv="Content-Style-Type" content="text/css">
7<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
8<title>DWC_SetUserSendCallback</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13<a name="dwc__transport_8h_1425a597b5b1fa10e0bde22d02e3dce6c"></a>
14<h1 align="left">DWC_SetUserSendCallback</h1>
15<h2>Syntax</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;dwc.h&gt;</CODE><BR>
20  <BR>
21  <PRE><CODE>BOOL <a href=DWC_SetUserSendCallback.html#dwc__transport_8h_1425a597b5b1fa10e0bde22d02e3dce6c>DWC_SetUserSendCallback</a>(<a href=DWCUserSendCallback.html#dwc__transport_8h_1fd9001583a199f90843f5a8853666f8f>DWCUserSendCallback</a> callback,
22                             void *param);</CODE></PRE></dd>
23</dl>
24
25<h2>Arguments</h2>
26
27<TABLE border="1" width="100%">
28  <TBODY>
29
30    <TR>
31<TD width="13%"><EM><STRONG>callback</STRONG></EM></TD>
32<TD width="87%">Pointer to the send completion callback function.</TD>
33    </TR>
34
35    <TR>
36<TD width="13%"><EM><STRONG>param</STRONG></EM></TD>
37<TD width="87%">Send completion callback parameter.</TD>
38    </TR>
39
40  </TBODY>
41</TABLE>
42
43<h2>Return Values</h2>
44
45<TABLE border="1" width="100%">
46  <TBODY>
47
48    <TR>
49<TD width="13%"><EM><STRONG>TRUE</STRONG></EM></TD>
50<TD width="87%">The configuration of the callback function was successful.</TD>
51    </TR>
52
53    <TR>
54<TD width="13%"><EM><STRONG>FALSE</STRONG></EM></TD>
55<TD width="87%">The configuration failed because the FriendsMatch Library was not running.</TD>
56    </TR>
57
58  </TBODY>
59</TABLE>
60
61<H2>Description</H2>
62<p>This function configures the data send completion callback. If a send completion callback is configured by this function, the callback is called when data has been sent from <CODE><A href="DWC_SendReliable.html">DWC_SendReliable</A></CODE>, <CODE><A href="DWC_SendReliableBitmap.html">DWC_SendReliableBitmap</A></CODE>, <CODE><A href="DWC_SendUnreliable.html">DWC_SendUnreliable</A></CODE>, or <CODE><A href="DWC_SendUnreliableBitmap.html">DWC_SendUnreliableBitmap</A></CODE>. However, the send completion does not guarantee delivery to the communication partner. It only means that data was completely passed to a low-layer send function.</p>
63
64<H2>Revision History</H2>
65<DL>
66
67<DT><para>2.0.0</DT>
68<DD>Specification change.</DD>
69
70</DL>
71<hr><p>CONFIDENTIAL</p></body>
72</html>
73