nn::boss::GetStorageInfo Function

Syntax

nn::Result GetStorageInfo(
size_t * pStorageSize = NULL
);

Arguments

Name Description
out pStorageSize Returns the size of the BOSS storage region. (Optional)

Return Values

Returns the function's execution result. Returns one of the Result values listed below.
Value Description
ResultSuccess Retrieval successful.
ResultStorageNotFound Storage has not been registered for the corresponding application ID. Confirm whether storage registration is complete.
ResultIpcNotSessionInitialized Either a session had not been initialized or there were incompatible permissions. This Result is returned if this function is called before either the Initialize or the InitializePriviledged function is called. When using the BOSS library, always begin by calling either the Initialize or the InitializePriviledged function.
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. Can confirm whether storage registration is complete.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL