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>WDFindGameInfo</title>
8</head>
9<body>
10
11<h1>WDFindGameInfo</h1>
12
13<h2>C Specification</h2>
14<dl>
15  <dd><pre><code>#include &lt;revolution/wd/WDScan.h&gt;</code></pre>
16  </dd>
17  <dd><pre><code>BOOL WDFindGameInfo( u8** <em>bufPtr</em>,
18                     s32* <em>length</em>,
19                     const <a href="WDBssDesc.html">WDBssDesc</a>* <em>bssDesc</em> );</code></pre>
20  </dd>
21</dl>
22
23<h2>Description</h2>
24<p>
25	Searches the BSS information for game information.
26</p>
27
28<h2>Arguments</h2>
29<table border="1" cellpadding="3" cellspacing="0.1">
30	<tr>
31		<TH><em>bufPtr</em></TH>
32		<TD>
33			Specifies a pointer to the variable that will store the head pointer of the game information that was found.
34			<P style="background-color:ffe8ff;padding-top:4px;padding-bottom:4px;padding-left:4px;padding-right:4px;">
35				<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.
36			</P>
37		</TD>
38	</tr>
39	<tr>
40		<TH><em>length</em></TH>
41		<TD>Specifies a pointer to the variable that will store the size (in bytes) of the game information that was found.</TD>
42	</tr>
43	<tr>
44		<TH><em>bssDesc</em></TH>
45		<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>
46	</tr>
47</table>
48
49<h2>Return Values</h2>
50<table border="1" cellpadding="3" cellspacing="0.1">
51	<tr>
52		<TH>TRUE</TH>
53		<TD>Game information was found.</TD>
54	</tr>
55	<tr>
56		<TH>FALSE</TH>
57		<TD>
58			Game 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>.
59		</TD>
60	</tr>
61</table>
62
63<h2>See Also</h2>
64<p>
65	<CODE><a href="WDScanOnce.html">WDScanOnce</a><br> <a href="WDFindInformationElement.html">WDFindInformationElement</a><br> <a href="WDFindWifiProtectedAccess.html">WDFindWifiProtectedAccess</a><br> <a href="WDBssDesc.html">WDBssDesc</a><br></CODE>
66</p>
67
68<h2>Revision History</h2>
69<p>
70	2006/12/12 Added description.<br>2006/11/09 Initial version.
71</p>
72<hr><p>CONFIDENTIAL</p></body>
73</html>
74