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>WBTResult</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">WBTResult</h1> 15<h2>Definition</h2> 16<pre> 17typedef s16 WBTResult; 18#define WBT_RESULT_SUCCESS 0 19#define WBT_RESULT_ERROR_TIMEOUT 1 20#define WBT_RESULT_ERROR_UNKNOWN_USER_COMMAND 2 21#define WBT_RESULT_ERROR_UNKNOWN_PACKET_COMMAND 3 22#define WBT_RESULT_ERROR_PARSE_INVALID 4 23#define WBT_RESULT_ERROR_RECV_BUFFER_OVERFLOW 5 24#define WBT_RESULT_ERROR_SAVE_FAILURE 6 25</pre> 26<H2>Description</H2> 27<P>The enum constant that shows the processing results in a WBT library command function. The meaning of each enumerator constant is shown in the following table: 28<TABLE border="0"> 29 <TBODY> 30 <TR> 31 <TD>Value</TD> 32 <TD>Description</TD> 33 </TR> 34 <TR> 35 <TD>WBT_RESULT_SUCCESS</TD> 36 <TD>Indicates that the function process completed successfully. 37 </TD> 38 </TR> 39 <TR> 40 <TD>WBT_RESULT_ERROR_TIMEOUT</TD> 41 <TD>Indicates that the function exceeded the specified wait time and stopped. 42 </TD> 43 </TR> 44 <TR> 45 <TD>WBT_RESULT_ERROR_UNKNOWN_USER_COMMAND</TD> 46 <TD rowspan="2">Indicates that an unknown command was detected in the transfer buffer hooked from wireless MP communications. 47 </TD> 48 </TR> 49 <TR> 50 <TD>WBT_RESULT_ERROR_UNKNOWN_PACKET_COMMAND</TD> 51 <TD></TD> 52 </TR> 53 <TR> 54 <TD>WBT_RESULT_ERROR_PARSE_INVALID</TD> 55 <TD>Indicates that processing failed because the transfer buffer hooked from wireless MP communications is abnormal. 56 </TD> 57 </TR> 58 <TR> 59 <TD>WBT_RESULT_ERROR_RECV_BUFFER_OVERFLOW</TD> 60 <TD>Indicates that the buffer is full due to an excess of received data. 61 </TD> 62 <TR> 63 <TD>WBT_RESULT_ERROR_SAVE_FAILURE</TD> 64 <TD>Indicates a failure to save the received data due to a sequence abnormality.<br> 65 This mainly occurs when the buffer specified with the <a href="command/WBT_GetBlock.html"><code>WBT_GetBlock</code></a> function is smaller than the actual size received. 66 </TD> 67 </TR> 68 </TBODY> 69</TABLE> 70<BR> 71</P> 72<h2>See Also</h2> 73<p><CODE><A href="wbt_command_type.html">WBTCommand</A></CODE></p> 74 75<H2>Revision History</H2> 76<P> 772004/09/21 Initial version. 78</P> 79<hr><p>CONFIDENTIAL</p></body> 80</html> 81