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 16<h2>C Specification</h2> 17 18<dl> 19 <dd><PRE><CODE>#include <revolution/gx.h></CODE></PRE></dd> 20 <dd><pre><CODE><a href="../Enumerated_Types/GXBool.html">GXBool</a> GXGetGPFifo( <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>. This function returns <CODE>GX_TRUE</CODE> if data could be obtained; otherwise, it returns <CODE>GX_FALSE</CODE> if data could not be obtained because the GP FIFO has not been set.</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 GP FIFO that is being used. (Under the GAMECUBE SDK, only a pointer to the <code><a href="../Structures/GXFifoObj.html">GXFifoObj</a></code> structure that was last set by <code><a href="GXSetGPFifo.html">GXSetGPFifo</a></code> was returned.)</P> 40 41<h2>See Also</h2> 42 43<p><a href="GXSetGPFifo.html"><code>GXSetGPFifo</code></a></p> 44<H2>Revision History</H2> 45<P> 462007/03/05 Added a note about the difference with the Nintendo GameCube SDK.<br>2006/03/01 Initial version. 47</P> 48<hr><p>CONFIDENTIAL</p></body> 49</HTML>