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>C Specification</h2> 16<dl><dd><pre><code> 17#include <revolution/rso.h> 18#include <revolution/RSOLink.h> 19 20u32 RSOGetFixedSize(void* i_rso, int i_fixed_level); 21 22</code></pre></dd></dl> 23 24<h2>Arguments</h2> 25<p> 26<TABLE border="1" > 27 <tr> 28<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>i_rso</EM></STRONG></CODE></TD> 29<TD width="520">Pointer to the target dynamic module information</TD> 30 </tr> 31 32 <tr> 33<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>i_fixed_level</EM></STRONG></CODE></TD> 34<TD width="520">Release level:<code><a href="./RSOFixedLevel.html">RSOFixedLevel</a></code></TD> 35 </tr> 36</TABLE> 37</p> 38 39<h2>Return Values</h2> 40<p> 41Size (from the starting point) of the region that needs to be allocated (in bytes).<br>Zero indicates failure.<br> 42</p> 43 44 45<H2>Description</H2> 46<p> 47 48<code>RSOGetFixedSize</code> shows the regions that will 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. 49</p> 50 51<h2>See Also</h2> 52<p> 53<code><a href="./intro.html">RSO API Introduction</a></code><br> <code><a href="./RSOLinkList.html">RSOListListFixed</a></code>, <code><a href="./RSOLocateObject.html">RSOLocateObjectFixed</a></code> 54</p> 55<H2>Revision History</H2> 56<p>06/14/2006 Initial version. </p> 57 58<hr> 59<p align="right"><strong>CONFIDENTIAL</strong></p> 60 61</BODY> 62</HTML> 63