RSOGetFixedSize

Syntax

#include <revolution/rso.h>

u32 RSOGetFixedSize(void* i_rso, RSOFixedLevel i_fixed_level);

Arguments

i_rso Pointer to the target dynamic module information.
i_fixed_level Level to release. (RSOFixedLevel)

Return Values

Size (from the starting point) of the region that needs to be allocated (in bytes).
Returns 0 on failure.

Description

RSOGetFixedSize shows the regions that must not be released by RSOLinkFixed and RSOLocateObjectFixed. This is represented as the size (offset) from the module starting address.
Note: After linking, the virtual address is returned and not the offset.

See Also

RSOListListFixed, RSOLocateObjectFixed

Revision History

2008/07/30 Changed the type of the second argument from int to RSOFixedLevel. This revision is the same as the one included in the 2007/01/10 version of the RSO package.
2008/07/10 Removed RSOLink.h from Syntax.
2006/06/14 Initial version.


CONFIDENTIAL