1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//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<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<title>GXGetCPUFifo</title>
9</head>
10
11<body>
12
13<h1 align="left">GXGetCPUFifo</h1>
14
15
16<h2>C Specification</h2>
17
18<dl>
19  <dd><PRE><CODE>#include &lt;revolution/gx.h&gt;</CODE></PRE></dd>
20  <dd><pre><CODE><a href="../Enumerated_Types/GXBool.html">GXBool</a> GXGetCPUFifo( <a href="../Structures/GXFifoObj.html">GXFifoObj</a>*  fifo );</CODE></pre></dd>
21</dl>
22
23<h2>Arguments</h2>
24<div align="left">
25<TABLE border="1" cellpadding="3" cellspacing="0.1">
26  <tr>
27<TD width="120" bgcolor="#ffffe8"><code><strong><em>fifo</em></strong></code></TD>
28<TD width="520">A pointer to the FIFO structure</TD>
29    </tr>
30</TABLE>
31</div>
32
33<h2>Return Values</h2>
34
35<p><CODE>GX_TRUE</CODE> if the FIFO status could be obtained; otherwise, <CODE>GX_FALSE</CODE>.</p>
36<H2>Description</H2>
37<P>This function gets the current CPU FIFO state in the structure object specified by <EM><STRONG><CODE>fifo</CODE></STRONG></EM>. If the status was correctly obtained, the function returns <CODE>GX_TRUE</CODE>. If the status could not be obtained because the CPU FIFO had not been set, it returns <CODE>GX_FALSE</CODE>.</P>
38
39<P><STRONG>Note:</STRONG> In contrast to the function of the same name in the GAMECUBE SDK, this function directly gets the current state of the CPU FIFO that is being used. (Under the GAMECUBE SDK, only a pointer to the <code><a href="../Structures/GXFifoObj.html">GXFifoObj</a></code> structure last set by <code><a href="GXSetCPUFifo.html">GXSetCPUFifo</a></code> was returned.)</P>
40
41<h2>See Also</h2>
42
43<p><a href="GXSetCPUFifo.html"><code>GXSetCPUFifo</code></a></p>
44<H2>Revision History</H2>
45<P>
462007/03/05 Added a note about the difference with the Nintendo&nbsp;GameCube SDK.<br>2006/09/22 Corrected typo in the argument name.<br>2006/03/01 Initial version.
47</P>
48<hr><p>CONFIDENTIAL</p></body>
49</HTML>