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="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 7<META http-equiv="Content-Style-Type" content="text/css"> 8<title>G2_GetBG2CharPtr</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">G2_GetBG2CharPtr <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1> 15<H2>Syntax</H2> 16 17<dl> 18 <dd> 19<PRE> 20<CODE>#include <nitro/gx/g2.h></CODE><BR> 21<CODE>void *G2_GetBG2CharPtr();</CODE></PRE></dd> 22</dl><h2>Arguments</h2> 23<P>None.</P> 24<h2>Return Values</h2> 25<P>The pointer to the region where BG2 character data is stored.</P> 26<H2>Description</H2> 27<P>This function returns the pointer to the region where the Main 2D Engine BG2 character data is stored. The return values for character BGs are as follows:</P> 28<P> </P> 29<BLOCKQUOTE><CODE>HW_BG_VRAM</CODE><BR> + (Value at the end of the name in the <CODE>GXBGCharOffset</CODE> enumerated type specified by <CODE><A href="../gx/GX_SetBGCharOffset.html">GX_SetBGCharOffset</A></CODE>) <BR> + (Value at the end of the name in the <CODE>GXBGCharBase</CODE> enumerated type specified by <CODE><A href="G2_SetBG2ControlText.html">G2_SetBG2ControlText</A></CODE>)</BLOCKQUOTE> 30<P> Since there is no character data for bitmap BGs, NULL is returned.</P> 31<h2>See Also</h2> 32<P><CODE><A href="G2_SetBG2ControlText.html">G2_SetBG2ControlText</A>, ... <A href="G2_SetBG2Priority.html">G2_SetBG2Priority</A>, <A href="G2_BG2Mosaic.html">G2_BG2Mosaic</A>, <A href="G2_GetBG2ScrPtr.html">G2_GetBG2ScrPtr</A>, <A href="G2_SetBG2Offset.html">G2_SetBG2Offset</A></CODE></P> 33<H2>Revision History</H2> 34<P>2004/02/09</P> 35<UL> 36 <LI>Added to description. 37</UL> 38<P>2004/01/19 Initial version.</P> 39<hr><p>CONFIDENTIAL</p></body> 40</html> 41