nn::boss::GetNsDataIdList Functionnn::Result GetNsDataIdList( 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 |
Size of NsDataIdList is insufficient (could not store all the NSD serial IDs). Continue calling repeatedly 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 any storage has been registered yet. |
ResultIpcNotSessionInitialized |
Either the session is not initialized or there are incompatible permissions. This Result is returned if this function is called before the Initialize or the InitializePriviledged function is called. Always call the Initialize or InitializePrivileged function first when you use the BOSS library. |
| A value other than the above. | Unexpected error (see boss_Result.h for error details). |
Specifies the data type and gets a list of NS content from the registered storage expanded save region. 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 it detects an update in the list's content, such as a new download, it returns ER_NSDATA_LIST_UPDATED and you must start over. In this case, re-call this function after initializing the instance of NsDataIdList.
CONFIDENTIAL