nn::boss::GetStorageInfo Function

Syntax

nn::Result GetStorageInfo(
     size_t * pStorageSize,
     u16 * pEntryCount
);

Arguments

Name Description
out pStorageSize Returns the size of the BOSS storage region.
out pEntryCount Returns the maximum file count for BOSS storage.

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
Result::IsSuccess Retrieval successful.
ResultStorageNotFound The BOSS storage corresponding to the appropriate application ID is not registered. Please check if the BOSS storage is registered.
ResultIpcNotSessionInitialized The session has not been initialized.
This Result is returned if this function is called before the Initialize function is called. Always call the Initialize function before using the BOSS library.
A value other than the above. Unexpected error (see boss_Result.h for error details).

Description

Gets the size of the registered BOSS storage region and the maximum file count.
Can also be used to check if the BOSS storage is registered.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL