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 8.0.0.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>PRC_GetInputPatternBufferSize</TITLE>
8<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">PRC_GetInputPatternBufferSize <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15  <PRE><CODE>#include &lt;nitro/prc.h&gt;
16
17u32 PRC_GetInputPatternBufferSize(
18    int                         maxPointCount,
19    int                         maxStrokeCount );
20</CODE></PRE>
21</DL>
22<H2>Arguments</H2>
23<TABLE border="1" width="100%">
24  <TBODY>
25    <TR>
26      <TD width="13%"><EM><STRONG><FONT face="Courier New">maxPointCount</FONT></STRONG></EM></TD>
27      <TD width="87%">Maximum point count after processing.</TD>
28    </TR>
29    <TR>
30      <TD width="13%"><EM><STRONG><FONT face="Courier New">maxStrokeCount</FONT></STRONG></EM></TD>
31      <TD width="87%">Maximum stroke count after processing.</TD>
32    </TR>
33  </TBODY>
34</TABLE>
35<H2>Return Values</H2>
36<P>Returns the work area memory size that is required for the creation of input pattern data.</P>
37<H2>Description</H2>
38<P>A <CODE><A href="PRCInputPattern.html">PRCInputPattern</A></CODE> type input pattern data is used for recognition, and raw input stroke data must be decoded into it. This function returns the amount of work area memory size required to do this. Before calling the <CODE><A href="PRC_InitInputPattern.html">PRC_InitInputPattern</A></CODE> function, allocate at least as much memory as this return value.</P>
39<P>This parameter restricts the maximum points and images after resampling for respectively <CODE>maxPointCount</CODE> and <CODE>maxStrokeCount</CODE>.</P>
40<H2>See Also</H2>
41<P><CODE><A href="PRC_InitInputPattern.html">PRC_InitInputPattern</A>, <A href="PRC_InitInputPattern.html">PRC_InitInputPatternEx</A><BR></CODE></P>
42<H2>Revision History</H2>
43<P>2004/06/23 Initial version.</P>
44<hr><p>CONFIDENTIAL</p></body>
45</HTML>
46