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 name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.1.0 for Windows">
6<META http-equiv="Content-Style-Type" content="text/css">
7<TITLE>ENV_SetResourceSet</TITLE>
8<LINK rel="stylesheet" href="../css/nitro.css" type="text/css">
9</HEAD>
10<BODY>
11<H1 align="left">ENV_SetResourceSet <img src="../image/NTR.gif"align="middle"><img src="../image/TWL.gif" align="middle"></H1>
12<H2>Syntax</H2>
13<DL>
14  <DD>
15<PRE><CODE>#include &lt;nitro/env.h&gt;</CODE></PRE>
16  <PRE><CODE>void ENV_SetResourceSet( ENVResource* resourceSet );
17  </CODE></PRE>
18</DL>
19<H2>Arguments</H2>
20<TABLE border="1" width="100%">
21  <TBODY>
22    <TR>
23<TD width="20%"><EM><STRONG>resourceSet</STRONG></EM></TD>
24<TD width="80%"> The pointer to the resource array.</TD>
25    </TR>
26  </TBODY>
27</TABLE>
28<H2>Return Values</H2>
29<P>None.</P>
30<H2>Description</H2>
31<P>This function sets the resource array used in searching for resources.</P>
32<P>Any resource arrays that have been set prior to this point are removed from the search target and the array specified here becomes the target.</P>
33<P>Be sure to indicate the end of the resource array with ENV_RESOURCE_END.</P>
34<BLOCKQUOTE style="background-color:#ffffcc"><CODE><B>(Example)</B><BR><BR>ENVResource myResouce[] = {<BR>&quot;res.data1&quot;,  ENV_U32( 300 ),<BR>&quot;res.data2&quot;,  ENV_U32( 500 ),<BR>&quot;res.data3&quot;,  ENV_STRING( &quot;abcde&quot; ),<BR>&quot;res.data4&quot;,  ENV_S32( -100 ),<BR><B>ENV_RESOUCE_END</B><BR>};<BR><BR><BR><BR>:<BR>ENV_SetResourceSet( myResource );<BR>:</CODE><BR> <BR>
35</BLOCKQUOTE>
36<H2>See Also</H2>
37<P><CODE><A href="ENV_Init.html">ENV_Init</A><BR></CODE><CODE><A href="ENV_AppendResourceSet.html">ENV_AppendResourceSet</A>, <A href="ENV_PrependResourceSet.html">ENV_PrependResourceSet</A>, <A href="ENV_InsertResourceSet.html">ENV_InsertResourceSet</A>,</CODE><BR>
38</P>
39<H2>Revision History</H2>
40<P>
412005/12/02 Deleted disabled links.<br> 2005/08/16 Initial release.
42</P>
43<hr><p>CONFIDENTIAL</p></body>
44</HTML>
45