1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> 2<head> 3<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 4<title>SND_WaitForCommandProc</title> 5<link rel="stylesheet" href="../css/nitro.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> 7</head> 8<body> 9<div class="refentry" lang="ja"><a name="IDAKKWT"></a><div class="titlepage"> 10<div></div> 11<div></div> 12</div> 13<h1>SND_WaitForCommandProc <IMG src="../image/NTR.gif" width="24" height="12" border="0" align=middle><IMG src="../image/TWL.gif" width="24" height="12" border="0" align=middle></h1> 14<h2>Syntax</h2> 15<dl> 16<dd><pre class="funcsynopsisinfo"><code>#include <nitro/snd.h></code></pre></dd> 17<dd><pre class="funcprototype"><code class="funcprototype">void SND_WaitForCommandProc( u32 <var>tag</var> );</code><br></pre></dd> 18</dl> 19<div class="refsection" lang="ja"><a name="IDAWLWT"></a> 20 <h2>Arguments</h2> 21 22 <div class="variablelist"> 23<table border="0"> 24<col align="left" valign="top"> 25<tbody> 26<tr> 27<td><em><strong><font face="Courier New">tag</font></strong></em></td> 28<td>The command tag.</td> 29</tr> 30</tbody> 31</table> 32</div> 33 34 </div> 35<div class="refsection" lang="ja"><a name="IDAFMWT"></a> 36 <h2>Return Values</h2> 37 38 <p>None.</p> 39 </div> 40<div class="refsection" lang="ja"><a name="IDAMMWT"></a> 41 <h2>Description</h2> 42 <p> 43Waits for command processes to end. 44</p> 45 <p> 46The command tag specified for <em><strong><font face="Courier New">tag</font></strong></em> is the one obtained by the <tt class="function"><a href="SND_GetCurrentCommandTag.html">SND_GetCurrentCommandTag</a></tt> function. The return of this function confirms that execution has completed for the command that was reserved immediately prior to the acquisition of the command tag. 47</p> 48 <div class="note"> 49<h3 class="title">Note</h3> 50<p> 51Note that you could end up waiting indefinitely for a command if it is not flushed by the <tt class="function"><a href="SND_FlushCommand.html">SND_FlushCommand</a></tt> function. 52</p> 53</div> 54 </div> 55<h2>See Also</h2> 56<p><code><a href="SND_GetCurrentCommandTag.html">SND_GetCurrentCommandTag</a>, <a href="SND_FlushCommand.html">SND_FlushCommand</a></code> </p> 57<h2>Revision History</h2> 58<p>2004/07/20 Initial version.</p> 59</div> 60<hr><p>CONFIDENTIAL</p></body> 61</html> 62