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 http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>KPADInit</title> 9</head> 10 11<body> 12 13<h1>KPADInit</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre class="construction"> 17#include <revolution/kpad.h> 18 19void KPADInit( void ); 20</pre></dd></dl> 21 22<h2>Arguments</h2> 23<p>None.</p> 24 25<h2>Return Values</h2> 26<p>None.</p> 27 28<H2>Description</H2> 29<p> 30This function initializes the KPAD library. This function must be called once before calling any other KPAD functions. However, call <a href="../wpad/WPADRegisterAllocator.html"><CODE>WPADRegisterAllocator</CODE></a> to register the allocator function used to allocate and deallocate memory for the WPAD library before calling this function. <a href="../wpad/WPADInit.html"><CODE>WPADInit</CODE></a> is called inside this function. 31</p> 32 33<h2>See Also</h2> 34<p class="reference"> 35<a href="./KPADInitEx.html">KPADInitEx</a> 36</p> 37 38<H2>Revision History</H2> 39<P> 402008/05/29 Reverted the API to its former version. Added the <code>KPADInitEx</code> function to <B>See Also</B>.<br>2008/03/26 Modified the API so that the ring buffer used internally by the library is passed to it from the application.<br>2006/10/25 Revised the description to match KPAD version 2.<br>2006/06/19 Added a note specific to initialization.<br>2006/03/01 Initial version.<br> 41</P> 42 43<hr><p>CONFIDENTIAL</p></body> 44</html>