1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<TITLE>GDGetCurrPointer</TITLE>
9</HEAD>
10<BODY>
11<H1 align="left">GDGetCurrPointer</H1>
12
13<H2>Syntax</H2>
14<dl><dd><pre class="construction">
15#include &lt;revolution/gd.h&gt;
16
17void* GDGetCurrPointer();
18</pre></dd></dl>
19
20<H2>Arguments</H2>
21<P>None.</P>
22
23<H2>Return Values</H2>
24<P>The current location pointer for the current <A href="GDLObj.html"><CODE>GDLObj</CODE></A>.</P>
25
26<H2>Description</H2>
27<P>This function returns the current location pointer for the current graphics display list object. The actual display list data is or will be stored in the memory buffer, and the current location pointer indicates where future GD commands will be written to in the buffer.</P>
28<P>This function is similar to <A href="GDGetGDLObjPointer.html"><CODE>GDGetGDLObjPointer</CODE></A>. The only difference is that this function is used for the current <A href="GDLObj.html"><CODE>GDLObj</CODE></A>, not a specified <A href="GDLObj.html"><CODE>GDLObj</CODE></A>.</P>
29<P>Note that a memory <STRONG>pointer</STRONG> is not platform independent. You should use the <strong>offset</strong> value instead when you need a value to use across platforms.</P>
30
31<H2>See Also</H2>
32<P class="reference">
33<A href="GDGetGDLObjPointer.html">GDGetGDLObjPointer</A>,
34<A href="GDGetCurrOffset.html">GDGetCurrOffset</A>
35</P>
36
37<H2>Revision History</H2>
38<P>
392006/03/01 Initial version.<br>
40</P>
41
42<hr><p>CONFIDENTIAL</p></body>
43</HTML>