1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<title>WBT_CancelCurrentCommand</title>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</head>
10<body>
11<h1 align="left">WBT_CancelCurrentCommand&nbsp;<img src="../../image/NTR.gif"><img src="../../image/TWL.gif"></h1>
12<h2>Syntax</h2>
13<dl>
14  <dd>
15<CODE>#include &lt;nitro/wbt.h&gt;</CODE><BR>
16  <BR>
17  <CODE>BOOL WBT_CancelCurrentCommand(u16 target);</CODE><br>
18  <br>
19  </dd>
20</dl>
21<h2>Arguments</h2>
22<p>
23<TABLE border="1" width="100%">
24  <TBODY>
25    <TR>
26      <TD width="13%"><CODE>target</CODE></TD>
27      <TD width="87%">AID bitmap of the targets for which the command should be canceled.
28	  Children can specify only &quot;1&quot; (the parent).</TD>
29    </TR>
30  </TBODY>
31</TABLE>
32</p>
33<h2>Return Values</h2>
34<p>Returns <CODE>FALSE</CODE> if there is no command that is currently processing. If there is, returns <CODE>TRUE</CODE> after interrupting and calling that command callback.</p>
35<H2>Description</H2>
36<p>Cancels any currently running command. Mainly used to cancel mid-stream after issuing the <A href="../command/WBT_GetBlock.html"><code>WBT_GetBlock</code></A> function. Cannot be used on the side that requested the command.<br></font> <br>
37</p>
38<H2>See Also</H2>
39<p>
40<A href="WBT_RequestSync.html"><CODE>WBT_RequestSync</CODE></A><br> <A href="WBT_GetBlockInfo.html"><CODE>WBT_GetBlockInfo</CODE></A><br> <A href="WBT_GetBlock.html"><CODE>WBT_GetBlock</CODE></A><br> <A href="WBT_PutUserData.html"><CODE>WBT_PutUserData</CODE></A>
41</p>
42<H2>Revision History</H2>
43<P>
442004/10/05 Initial version.
45</P>
46<hr><p>CONFIDENTIAL</p></body>
47</html>
48