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>WPADInit</title> 10</head> 11 12<body> 13 14<h1>WPADInit</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/wpad.h> 19 20void WPADInit( void ); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<p>None.</p> 25 26<h2>Return Values</h2> 27<p>None.</p> 28 29<H2>Description</H2> 30<p> 31Performs initialization for the WPAD APIs. <font color="red">The <a href="./WPADRegisterAllocator.html"><CODE>WPADRegisterAllocator</CODE></a> function must be called before this function.</font>This function must be called once before calling any other WPAD API function. 32</p> 33<p> 34This function also clears the callback functions registered by the following functions: 35</p> 36<ul> 37<li><a href="./WPADSetConnectCallback.html"><code>WPADSetConnectCallback</code></a></li> 38<li><a href="./WPADSetSyncDeviceCallback.html"><code>WPADSetSyncDeviceCallback</code></a></li> 39<li><a href="./WPADSetSimpleSyncCallback.html"><code>WPADSetSimpleSyncCallback</code></a></li> 40<li><a href="./WPADSetClearDeviceCallback.html"><code>WPADSetClearDeviceCallback</code></a></li> 41<li><a href="./WPADSetExtensionCallback.html"><code>WPADSetExtensionCallback</code></a></li> 42<li><a href="./WPADSetSamplingCallback.html"><code>WPADSetSamplingCallback</code></a></li> 43</ul> 44 45<h2>See Also</h2> 46<P class="reference"> 47<a href="./WPADRegisterAllocator.html">WPADRegisterAllocator</a>, 48<a href="./WPADSetConnectCallback.html">WPADSetConnectCallback</a>, 49<a href="./WPADSetSyncDeviceCallback.html">WPADSetSyncDeviceCallback</a>, 50<a href="./WPADSetSimpleSyncCallback.html">WPADSetSimpleSyncCallback</a>, 51<a href="./WPADSetClearDeviceCallback.html">WPADSetClearDeviceCallback</a>, 52<a href="./WPADSetExtensionCallback.html">WPADSetExtensionCallback</a>, 53<a href="./WPADSetSamplingCallback.html">WPADSetSamplingCallback</a> 54</p> 55 56<H2>Revision History</H2> 57<P> 582006/09/18 Mentioned that the registered callbacks will be cleared.<br>2006/06/19 Added a note to the description that the <CODE>WPADRegisterAllocator</CODE> function needs to be called first.<br>2005/08/01 Initial version.<br> 59</P> 60 61<hr><p>CONFIDENTIAL</p></body> 62</html>