1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//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<META http-equiv="Content-Style-Type" content="text/css"> 8<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 9<title>GXReadDrawSync</title> 10</head> 11 12<body> 13 14<h1 align="left">GXReadDrawSync</h1> 15 16<h2>Syntax</h2> 17<dl><dd><pre class="construction"> 18#include <revolution/gx.h> 19 20u16 GXReadDrawSync( void ); 21</pre></dd></dl> 22 23<h2>Arguments</h2> 24<p>None.</p> 25 26<h2>Return Values</h2> 27<P>The value of the token register, u16.</P> 28 29<H2>Description</H2> 30<P>This function returns the value of the <SPAN class="argument">token</SPAN> register, which is written using the <a href="GXSetDrawSync.html"><code>GXSetDrawSync</code></a> function. This allows the application to monitor the completion of graphics rendering tasks. This function is asynchronous (non-blocking).</P> 31<P>You can also be notified when the token register is written using the <A href="GXSetDrawSyncCallback.html"><CODE>GXSetDrawSyncCallback</CODE></A> function.</P> 32 33<P>This function simply returns the latest token value set by the <A href="GXSetDrawSync.html"><CODE>GXSetDrawSync</CODE></A> function.</P> 34 35<h2>See Also</h2> 36<P class="reference"> 37<a href="GXSetDrawSync.html">GXSetDrawSync</a> 38</p> 39 40<H2>Revision History</H2> 41<P> 422006/03/01 Initial version.<br> 43</P> 44 45<hr><p>CONFIDENTIAL</p></body> 46</HTML>