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>GXGetGPFifo</title> 9</head> 10 11<body> 12 13<h1 align="left">GXGetGPFifo</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre class="construction"> 17#include <revolution/gx.h> 18 19<a href="../Enumerated_Types/GXBool.html">GXBool</a> GXGetGPFifo( <a href="../Structures/GXFifoObj.html">GXFifoObj</a>* fifo ); 20</pre></dd></dl> 21 22<h2>Arguments</h2> 23<TABLE class="arguments" border="1" > 24 <tr> 25<TH>fifo</TH> 26<TD>A pointer to the FIFO structure.</TD> 27 </tr> 28</TABLE> 29 30<h2>Return Values</h2> 31<p>Returns <CODE>GX_TRUE</CODE> if the FIFO status could be obtained; otherwise, returns <CODE>GX_FALSE</CODE>.</p> 32 33<H2>Description</H2> 34<P>This function gets the current GP FIFO state in the structure object specified by <SPAN class="argument">fifo</SPAN>. This function returns <CODE>GX_TRUE</CODE> if the status was correctly obtained; otherwise, it returns <CODE>GX_FALSE</CODE> if the status could not be obtained because the GP FIFO had not been set.</P> 35 36<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 GP FIFO that is being used. (In the GAMECUBE SDK, this function merely returned a pointer to the <a href="../Structures/GXFifoObj.html"><code>GXFifoObj</code></a> structure set by the <a href="GXSetGPFifo.html"><code>GXSetGPFifo</code></a> function in the previous cycle.)</P> 37 38<h2>See Also</h2> 39<P class="reference"> 40<a href="GXSetGPFifo.html">GXSetGPFifo</a> 41</p> 42 43<H2>Revision History</H2> 44<P> 452007/03/05 Added a Note about the difference with the GameCube SDK.<br>2006/03/01 Initial version.<br> 46</P> 47 48<hr><p>CONFIDENTIAL</p></body> 49</HTML>