nn::ro::GetSizeInfo Function

Syntax

Result GetSizeInfo(
     SizeInfo * pInfo,
     const void * pRo
);

Parameters

Name Description
out pInfo Pointer to a region used to store memory size information.
in pRo Pointer to the start of the cro whose information is to be obtained. REQUIRED_SIZE_FOR_GET_SIZE_INFO bytes from the start of the cro must be loaded already. Must be aligned on a 4-byte boundary.

Return Values

...

Description

Gets the memory size information required to load the target cro.

Gets information related to the size of the memory buffer required to load a cro that hasn't been loaded yet.

The complete cro does not need to be stored in memory. Only the first REQUIRED_SIZE_FOR_GET_SIZE_INFO bytes from the start of the cro need to be stored in memory.

Revision History

2011/07/29
Initial version.

CONFIDENTIAL