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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>Constants</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">WXC-Related Constants <img src="../image/NTR.gif"align="middle"><img src="../image/TWL.gif" align="middle"></h1> 15<h2>Definition</h2> 16 17<pre> 18#define WXC_WORK_SIZE 0x4000 19 20/* Library's MP send/receive packet size */ 21#define WXC_PACKET_SIZE_MIN 20 22#define WXC_PACKET_SIZE_MAX WM_SIZE_MP_DATA_MAX 23#define WXC_REGISTER_DATA_MAX 16 24#define WXC_MAX_DATA_SIZE (32 * 1024) 25</pre> 26 27<H2>Description</H2> 28<P>Constants defined in the WXC library. Explanation of each constant is shown below: <BR> 29<TABLE border="0"> 30 <TBODY> 31 32 <TR> 33<TD>WXC_WORK_SIZE</TD> 34<TD>Required size for the Work memory allocated with the <A href="common/WXC_Init.html"><CODE>WXC_Init</CODE></A> function.</TD> 35 </TR> 36 <TR> 37<TD>WXC_PACKET_SIZE_MIN</TD> 38<TD>Minimum send size that can be specified with the <A href="common/WXC_SetParentParameter.html"><CODE>WXC_SetParentParameter</CODE></A> function.</TD> 39 </TR> 40 <TR> 41<TD>WXC_PACKET_SIZE_MAX</TD> 42<TD>Maximum send size that can be specified with the <A href="common/WXC_SetParentParameter.html"><CODE>WXC_SetParentParameter</CODE></A> function.</TD> 43 </TR> 44 <TR> 45<TD>WXC_REGISTER_DATA_MAX</TD> 46<TD>Maximum number of data blocks that can be registered with the <A href="common/WXC_RegisterCommonData.html"><CODE>WXC_RegisterCommonData</CODE></A> function.</TD> 47 </TR> 48 <TR> 49<TD>WXC_MAX_DATA_SIZE</TD> 50<TD>Maximum send/receive data size that can be specified in the <A href="common/WXC_RegisterCommonData.html"><CODE>WXC_RegisterCommonData</CODE></A> function.</TD> 51 </TR> 52 53 </TBODY> 54</TABLE> 55 56<BR> 57</P> 58<h2>See Also</h2> 59<p><CODE><A href="common/WXC_Init.html">WXC_Init</A><BR> <A href="common/WXC_Init.html">WXC_SetParentParameter</A></CODE></p> 60 61<H2>Revision History</H2> 62<P> 632006/08/10 Revised links. <br>2006/02/20 Added <CODE>WXC_REGISTER_DATA_MAX</CODE> and <CODE>WXC_MAX_DATA_SIZE</CODE>. <br>2005/08/09 Added <CODE>WXC_PACKET_SIZE_MIN</CODE> and <CODE>WXC_PACKET_SIZE_MAX</CODE>. <br>2005/08/04 Initial version.<br> 64</P> 65<hr><p>CONFIDENTIAL</p></body> 66</html> 67