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 <nitro/env.h></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 <CODE>ENV_RESOURCE_END</CODE>.</P> 34<BLOCKQUOTE style="background-color:#ffffcc"><PRE><B>(Example)</B> 35 36ENVResource myResource[] = { 37 "res.data1", ENV_U32( 300 ), 38 "res.data2", ENV_U32( 500 ), 39 "res.data3", ENV_STRING( "abcde" ), 40 "res.data4", ENV_S32( -100 ), 41 <B><FONT color="#ff0033">ENV_RESOURCE_END</FONT></B> 42}; 43 44 45 46 : 47 ENV_SetResourceSet( myResource ); 48 :</PRE><BR> 49</BLOCKQUOTE> 50<H2>See Also</H2> 51<P><CODE><A href="ENV_Init.html">ENV_Init</A><BR> 52</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> 53 54</P> 55<H2>Revision History</H2> 56<P> 572005/12/02 Deleted disabled links.<BR> 58 2005/08/16 Initial release. 59</P> 60<hr><p>CONFIDENTIAL</p></body> 61</HTML> 62