nn::boss::GetOwnNsDataIdList Functionnn::Result GetOwnNsDataIdList( u32 dataType, NsDataIdList * pNsDataId );
| Name | Description | |
|---|---|---|
| in | dataType | Specifies the data type. (Use DATA_TYPE_ALL to specify all data types.) |
| out | pNsDataId | Specifies an object storing a list of content data. |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Retrieval successful. |
ResultNsDataListSizeShortage |
Insufficient size for NsDataIdList (could not store all the NSD serial IDs); continue on and keep calling until you get all the NSD serial IDs. |
ResultNsDataListUpdated |
The target NSD group for BOSS storage was updated since the last time a list was obtained. |
ResultInvalidNsDataIdList |
The pointer to NS data list information is NULL. |
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). |
Excludes the shared NS data and gets a list of NS content for the user from the registered storage expanded save region. In other words, only NS data for the invoked application is included in the list, even if there is shared NS data. The return value is ER_NSDATA_LIST_SIZE_SHORTAGE if the entire list could not be obtained. If you call this function more than once and an update in the list's content, such as a new download, is detected, ER_NSDATA_LIST_UPDATED is returned and you must start over. In this case, re-call this function after initializing the instance of NsDataIdList.
CONFIDENTIAL