1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html xmlns="http://www.w3.org/1999/xhtml"> 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<title>DSP_OpenStaticComponentGraphics</title> 7<link rel="stylesheet" href="../../css/nitro.css" type="text/css" /> 8</head> 9<body> 10 11<h1>DSP_OpenStaticComponentGraphics <IMG src="../../image/TWL.gif" align="middle"></H1> 12<H2>Syntax</H2> 13 14<pre><code> 15void DSP_OpenStaticComponentGraphics(FSFile *file); 16</code></pre> 17 18<h2>Arguments</h2> 19<table style="width:100%"> 20<tbody> 21<tr> 22<td style="width:13%"><CODE>file</CODE></td> 23<td style="width:87%">The <CODE>FSFile</CODE> structure to open a memory file.</td> 24</tr> 25</tbody> 26</table> 27 28 29<h2>Return Values</h2> 30<p>None.</p> 31 32<h2>Description</h2> 33<p>Opens a memory file in static memory for use by the graphics components. The opened file can be used as an argument to the <a href="DSP_LoadGraphics.html"><CODE>DSP_LoadGraphics</CODE></a> function. If this function is used, the SDK library and component files always have the same version, and component files no longer need to be saved to the file system in advance. However, the files are linked in static memory and therefore increase the program's resident memory size. <br>Because this function makes an internal call to the <a href="../../fs/file/FS_InitFile.html"><CODE>FS_InitFile</CODE></a> function, you do not need to initialize <code>file</code> ahead of time. 34</p> 35 36<h2>See Also</h2> 37<p><a href="DSP_LoadGraphics.html"><CODE>DSP_LoadGraphics</CODE></a></p> 38 39<h2>Revision History</h2> 40<p> 412009/02/12 Added mention that the <a href="../../fs/file/FS_InitFile.html"><CODE>FS_InitFile</CODE></a> function is called internally.<br> 2008/05/22 Initial version. 42</p> 43<hr><p>CONFIDENTIAL</p></body> 44</html> 45