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>DWCUserRecvCallback</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13<a name="dwc__transport_8h_1988e926de15cb0756f515a13ea405943"></a> 14<h1 align="left">DWCUserRecvCallback</h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <dwc.h></CODE><BR> 20 <BR> 21 <PRE><CODE>typedef void(*) <a href=DWCUserRecvCallback.html#dwc__transport_8h_1988e926de15cb0756f515a13ea405943>DWCUserRecvCallback</a>(u8 aid, 22 u8 *buffer, 23 int size, 24 void *param);</CODE></PRE></dd> 25</dl> 26 27<h2>Arguments</h2> 28 29<TABLE border="1" width="100%"> 30 <TBODY> 31 32 <TR> 33<TD width="13%"><EM><STRONG><parametername>aid</parametername></STRONG></EM></TD> 34<TD width="87%">AID of the sender.</TD> 35 </TR> 36 37 <TR> 38<TD width="13%"><EM><STRONG><parametername>buffer</parametername></STRONG></EM></TD> 39<TD width="87%">Pointer to received data.</TD> 40 </TR> 41 42 <TR> 43<TD width="13%"><EM><STRONG><parametername>size</parametername></STRONG></EM></TD> 44<TD width="87%">Size of the received data.</TD> 45 </TR> 46 47 <TR> 48<TD width="13%"><EM><STRONG><parametername>param</parametername></STRONG></EM></TD> 49<TD width="87%">Callback parameter.</TD> 50 </TR> 51 52 </TBODY> 53</TABLE> 54 55<h2>Return Values</h2> 56 57<p>None.</p> 58 59<H2>Description</H2> 60<p>This callback function can be set using <A href="DWC_SetUserRecvCallback.html"><CODE>DWC_SetUserRecvCallback</CODE></A>.</p> 61 62<h2>See Also</h2> 63<p> 64 65<CODE><A href="DWC_SetUserRecvCallback.html">DWC_SetUserRecvCallback<BR></A></CODE> 66 67<CODE><A href="DWC_SendReliable.html">DWC_SendReliable<BR></A></CODE> 68 69<CODE><A href="DWC_SendReliableBitmap.html">DWC_SendReliableBitmap<BR></A></CODE> 70 71<CODE><A href="DWC_SendUnreliable.html">DWC_SendUnreliable<BR></A></CODE> 72 73<CODE><A href="DWC_SendUnreliableBitmap.html">DWC_SendUnreliableBitmap<BR></A></CODE> 74 75</p> 76 77<H2>Revision History</H2> 78<DL> 79 80<DT><para>2.0.0</DT> 81<DD>Specification change.</DD> 82 83</DL> 84<hr><p>CONFIDENTIAL</p></body> 85</html> 86