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="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9<title>KPRInitQueue</title>
10</head>
11
12<body>
13
14<h1>KPRInitQueue</h1>
15
16<h2>C Specification</h2>
17
18<dl>
19<dd><pre><code>#include &lt;revolution/kpr.h&gt;</code></pre>
20  </dd>
21<dd><pre>void KPRInitQueue(KPRQueue *queue);</pre>
22  </dd>
23</dl>
24
25<h2>Arguments</h2>
26
27<TABLE border="1" cellpadding="3" cellspacing="0.1">
28<tr>
29<TD width="120" bgcolor="#ffffe8"><code><em><strong><STRONG><EM><CODE>queue</CODE></EM></STRONG></strong></em></code></TD>
30<TD width="520">Pointer to a queue to be initialized.</TD>
31</tr>
32</TABLE>
33
34<h2>Return Values</h2>
35
36<TABLE border="1" cellpadding="3" cellspacing="0.1">
37<tr>
38<TD width="120" bgcolor="#ffffe8"><code><em><strong>void</strong></em></code></TD>
39<TD width="520">None.
40</TD>
41</tr>
42</TABLE>
43
44<h2>Description</h2>
45
46<p>This function clears a queue and sets the default processing mode to <code>KPR_MODE_ALT_KEYPAD</code>. It should be called after a queue is created and before it is used. It may also be called again to clear the queue and reset the processing mode.</p>
47
48<h2>See Also</h2>
49
50<p><a href="list.html">Key Processing API Function List</a>
51</p>
52
53<H2>Revision History</H2>
54<P>2007/07/09 Initial version.</P>
55
56</BODY>
57</HTML>