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>KPRSetMode</title>
10</head>
11
12<body>
13
14<h1>KPRSetMode</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 KPRSetMode(KPRQueue *queue, KPRMode mode);</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 queue to change.</TD>
31</tr>
32<tr>
33<TD width="120" bgcolor="#ffffe8"><code><em><strong>mode</strong></em></code></TD>
34<TD width="520">New processing mode for queue.</TD>
35</tr>
36</TABLE>
37
38<h2>Return Values</h2>
39
40<TABLE border="1" cellpadding="3" cellspacing="0.1">
41<tr>
42<TD width="120" bgcolor="#ffffe8"><code><em><strong>void</strong></em></code></TD>
43<TD width="520">None.
44</TD>
45</tr>
46</TABLE>
47
48<h2>Description</h2>
49
50<p>This function sets the key processing mode for the given queue.</p>
51<p>Each queue has a mode which indicates the type of processing to be done. More than one mode may be active at the same time, but with restrictions. Alt+keypad processing can always be turned on. Dead-key processing and Japanese-character processing are mutually exclusive. The two different kinds of Japanese-character processing are also mutually exclusive.</p>
52
53<h2>See Also</h2>
54
55<p><a href="list.html">Key Processing Functions</a>, <a href="KPRGetMode.html"><code>KPRGetMode</code></a>
56</p>
57
58<H2>Revision History</H2>
59<P>2007/07/09 Initial version.</P>
60
61</BODY>
62</HTML>