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 http-equiv="Content-Style-Type" content="text/css" /> 6<link rel="stylesheet" type="text/css" href="../CSS/rex.css" /> 7<title>WDFindWifiProtectedAccess</title> 8</head> 9<body> 10 11<h1>WDFindWifiProtectedAccess</h1> 12 13<h2>C Specification</h2> 14 15<dl> 16 <dd><pre><code>#include <revolution/wd/WDScan.h></code></pre> 17 </dd> 18 <dd><pre><code>BOOL WDFindWifiProtectedAccess( u8** <em>bufPtr</em>, 19 s32* <em>length</em>, 20 const <a href="WDBssDesc.html">WDBssDesc</a>* <em>bssDesc</em> );</code></pre> 21 </dd> 22</dl> 23 24<h2>Description</h2> 25<p> 26 Searches for WPA information from BSS information.<br>Note that there is a chance that WPA information is not contained within the BSS information even if the wireless communication target has encryption set. 27</p> 28 29<h2>Arguments</h2> 30<table border="1" cellpadding="3" cellspacing="0.1"> 31 <tr> 32 <TH><em>bufPtr</em></TH> 33 <TD> 34 Specifies a pointer to the variable that will store the head pointer of the WPA information that was found. 35 <P style="background-color:ffe8ff;padding-top:4px;padding-bottom:4px;padding-left:4px;padding-right:4px;"> 36 <strong>Note: </strong>The alignment of the head pointer is undefined. If accessing as a variable comprising multiple bytes, care must be taken by temporarily copying to a buffer with guaranteed alignment or other measures. 37 </P> 38 </TD> 39 </tr> 40 <tr> 41 <TH><em>length</em></TH> 42 <TD>Specifies a pointer to the variable that will store the size (in bytes) of the WPA information that was found.</TD> 43 </tr> 44 <tr> 45 <TH><em>bssDesc</em></TH> 46 <TD>Sets the pointer to the start of the BSS information of the <CODE><a href="WDBssDesc.html">WDBssDesc</a></CODE> type to check.</TD> 47 </tr> 48</table> 49 50<h2>Return Values</h2> 51<table border="1" cellpadding="3" cellspacing="0.1"> 52 <tr> 53 <TH>TRUE</TH> 54 <TD>WPA information was found.</TD> 55 </tr> 56 <tr> 57 <TH>FALSE</TH> 58 <TD> 59 WPA information was not found.<br>A <CODE>NULL</CODE> pointer will be stored in the variable specified in <CODE><strong><em>bufPtr</em></strong></CODE>, and <CODE>0</CODE> in <CODE><strong><em>length</em></strong></CODE>. 60 </TD> 61 </tr> 62</table> 63 64<h2>See Also</h2> 65<p> 66 <CODE><a href="WDScanOnce.html">WDScanOnce</a><br> <a href="WDFindInformationElement.html">WDFindInformationElement</a><br> <a href="WDFindGameInfo.html">WDFindGameInfo</a><br> <a href="WDBssDesc.html">WDBssDesc</a><br></CODE> 67</p> 68 69<h2>Revision History</h2> 70<p> 71 2006/11/09 Initial version.<br>2006/12/12 Added description.<br> 72</p> 73<hr><p>CONFIDENTIAL</p></body> 74</html> 75