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>G2S_GetBG2CharPtr</title> 9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13 14<h1 align="left">G2S_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 *G2S_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 a pointer to the region where sub 2D engine BG2 character data is stored. The return values are as follows:</P> 28<P>For character BGs:</P> 29<BLOCKQUOTE><CODE>HW_DB_BG_VRAM</CODE> + (the value at the end of the name for the <CODE>GXBGCharBase</CODE> enumerated type specified by functions such as <CODE><A href="G2S_SetBG2ControlText.html">G2S_SetBG2ControlText</A></CODE>)</BLOCKQUOTE> 30<P> Since there is no character data for bitmap BGs, NULL is returned.</P> 31 32 33<h2>See Also</h2> 34<P><CODE><A href="G2S_SetBG2ControlText.html">G2S_SetBG2ControlText</A>, ..., <A href="G2S_SetBG2Priority.html">G2S_SetBG2Priority</A>, <A href="G2S_BG2Mosaic.html">G2S_BG2Mosaic</A>, <A href="G2S_GetBG2ScrPtr.html">G2S_GetBG2ScrPtr</A>, <A href="G2S_SetBG2Offset.html">G2S_SetBG2Offset</A></CODE></P> 35<H2>Revision History</H2> 36<P>2004/02/09 Initial version.</P> 37<hr><p>CONFIDENTIAL</p></body> 38</html> 39