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 17<h2>C Specification</h2> 18 19<dl> 20<dd><PRE><CODE>#include <revolution/gx.h></CODE></PRE> 21 </dd> 22<dd><pre><CODE>u16 GXReadDrawSync( void );</CODE></pre> 23 </dd> 24</dl> 25 26<h2>Arguments</h2> 27 28<p>None.</p> 29 30<h2>Return Values</h2> 31 32<P>The value of the token register, u16.</P> 33<H2>Description</H2> 34<P>This function returns the value of the <code>token</code> 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 non-blocking.<br></P> 35<P><br> You can also be notified when the token register is written using <code><a href="GXSetDrawSyncCallback.html">GXSetDrawSyncCallback</a></code>.</P> 36 37 38<P>This function returns the latest token value set by <a href="GXSetDrawSync.html">GXSetDrawSync</a>.</P> 39<h2>See Also</h2> 40 41<p><a href="GXSetDrawSync.html"><CODE>GXSetDrawSync</CODE></a></p> 42<H2>Revision History</H2> 43<P>03/01/2006 Initial version.</P> 44</BODY> 45</HTML>