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 http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<title>RSOGetFixedSize</title> 9</head> 10 11<body> 12 13<h1>RSOGetFixedSize</h1> 14 15<h2>Syntax</h2> 16<dl><dd><pre class="construction"> 17#include <revolution/rso.h> 18 19u32 RSOGetFixedSize(void* i_rso, RSOFixedLevel i_fixed_level); 20</pre></dd></dl> 21 22<h2>Arguments</h2> 23<TABLE class="arguments" border="1" > 24 <tr> 25 <TH>i_rso</TH> 26<TD>Pointer to the target dynamic module information.</TD> 27 </tr> 28 <tr> 29 <TH>i_fixed_level</TH> 30<TD>Level to release. (<code><a href="./RSOFixedLevel.html">RSOFixedLevel</a></code>)</TD> 31 </tr> 32</TABLE> 33 34<h2>Return Values</h2> 35<p> 36Size (from the starting point) of the region that needs to be allocated (in bytes).<br>Returns 0 on failure.<br> 37</p> 38 39<H2>Description</H2> 40<p> 41<code>RSOGetFixedSize</code> shows the regions that must not be released by <code><a href="./RSOLinkList.html">RSOLinkFixed</a></code> and <code><a href="./RSOLocateObject.html">RSOLocateObjectFixed</a></code>. This is represented as the size (offset) from the module starting address.<br><B>Note:</B> After linking, the virtual address is returned and not the offset. 42</p> 43 44<h2>See Also</h2> 45<p class="reference"> 46<a href="./RSOLinkList.html">RSOListListFixed</a>, 47<a href="./RSOLocateObject.html">RSOLocateObjectFixed</a> 48</p> 49 50<H2>Revision History</H2> 51<p> 522008/07/30 Changed the type of the second argument from <CODE>int</CODE> to <CODE>RSOFixedLevel</CODE>. This revision is the same as the one included in the 2007/01/10 version of the RSO package.<br>2008/07/10 Removed <CODE>RSOLink.h</CODE> from <B>Syntax</B>.<BR> 2006/06/14 Initial version.<BR> 53</p> 54 55<hr><p>CONFIDENTIAL</p></body> 56</html> 57