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 17<h2>C Specification</h2> 18 19<dl> 20<dd><pre><code>#include <revolution/wpad.h> 21 22void WPADInit( void );</CODE></pre> 23 </dd> 24</dl> 25 26<h2>Arguments</h2> 27 28<p>None.</p> 29 30<h2>Return Values</h2> 31 32<p>None.</p> 33<H2>Description</H2> 34<p> 35Performs 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. 36</p> 37<p> 38This function also clears the callback functions registered by the following functions: 39</p> 40<ul> 41<li><a href="./WPADSetConnectCallback.html"><code>WPADSetConnectCallback</code></a></li> 42<li><a href="./WPADSetSyncDeviceCallback.html"><code>WPADSetSyncDeviceCallback</code></a></li> 43<li><a href="./WPADSetSimpleSyncCallback.html"><code>WPADSetSimpleSyncCallback</code></a></li> 44<li><a href="./WPADSetClearDeviceCallback.html"><code>WPADSetClearDeviceCallback</code></a></li> 45<li><a href="./WPADSetExtensionCallback.html"><code>WPADSetExtensionCallback</code></a></li> 46<li><a href="./WPADSetSamplingCallback.html"><code>WPADSetSamplingCallback</code></a></li> 47</ul> 48 49<h2>See Also</h2> 50<P> 51<A href="./toc.html" target="contents">WPAD Function</A><br> <a href="./WPADRegisterAllocator.html"><code>WPADRegisterAllocator</code></a>, <a href="./WPADSetConnectCallback.html"><code>WPADSetConnectCallback</code></a>, <a href="./WPADSetSyncDeviceCallback.html"><code>WPADSetSyncDeviceCallback</code></a>, <a href="./WPADSetSimpleSyncCallback.html"><code>WPADSetSimpleSyncCallback</code></a>, <a href="./WPADSetClearDeviceCallback.html"><code>WPADSetClearDeviceCallback</code></a>, <a href="./WPADSetExtensionCallback.html"><code>WPADSetExtensionCallback</code></a>, <a href="./WPADSetSamplingCallback.html"><code>WPADSetSamplingCallback</code></a><br> 52</p> 53<H2>Revision History</H2> 54<P> 552006/09/18 Mentioned that the registered callback will be cleared.<br>2006/06/19 Added a note that WPADRegisterAllocator function needs to be called first.<br>2006/08/01 Initial version.<br> 56</P> 57 58<hr> 59<P>CONFIDENTIAL</p> 60</BODY> 61</HTML>