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>WXCBlockDataFormat</title>
9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">WXCBlockDataFormat <img src="../image/NTR.gif"align="middle"><img src="../image/TWL.gif" align="middle"></h1>
15<h2>Definition</h2>
16
17<dl>
18  <dd>
19<CODE>#include &lt;nitro/wxc.h&gt;</CODE><BR> <BR>
20<PRE>
21
22<font color="#008000">/* Block data information structure */</font>
23typedef struct WXCBlockDataFormat
24{
25    void           *buffer;     <font color="#008000">/* Pointer to buffer */</font>
26    u32             length;     <font color="#008000">/* Data size */</font>
27    u32             buffer_max; <font color="#008000">/* Buffer size (If send data, matches 'length') */</font>
28    u16             checksum;   <font color="#008000">/* Checksum (uses MATH_CalcChecksum8()) */</font>
29    u8              padding[2];
30}
31WXCBlockDataFormat;</PRE>
32</CODE><br> <br>
33  </dd>
34</dl>
35
36<h2>Elements</h2>
37<TABLE border="1" width="100%">
38  <TBODY>
39    <TR>
40<TD width="200"><em><strong><font face="Courier New"><CODE>buffer</CODE></font></strong></em></TD>
41<TD width="800">Pointer to the buffer.
42      </TD>
43    </TR>
44    <TR>
45<TD width="200"><em><strong><font face="Courier New">length</font></strong></em></TD>
46<TD width="800">Actual size of the data.
47      </TD>
48    </TR>
49    <TR>
50<TD width="200"><em><strong><font face="Courier New">buffer_max</font></strong></em></TD>
51<TD width="800">Size of the buffer.<br>In the send data, this value is the same as length.
52      </TD>
53    </TR>
54    <TR>
55<TD width="200"><em><strong><font face="Courier New">checksum</font></strong></em></TD>
56<TD width="800">Data checksum. <br>Inside the WXC library, <CODE>MATH_CalcChecksum8</CODE> is used to determine the checksum.
57      </TD>
58    </TR>
59  </TBODY>
60</TABLE>
61
62<H2>Description</H2>
63<P>Structure that shows the block data information used in WXC library callbacks.
64
65</P>
66<h2>See Also</h2>
67<p><CODE><A href="common/WXC_RegisterCommonData.html">WXC_RegisterCommonData</A></CODE></p>
68
69<H2>Revision History</H2>
70<P>
712006/08/10 Corrected links.<br /> 2005/08/21 Initial version.
72</P>
73<hr><p>CONFIDENTIAL</p></body>
74</html>
75