NS services: Difference between revisions

Line 345: Line 345:


== GetTotalSpaceSize ==
== GetTotalSpaceSize ==
Takes an input media-id that must be 5.
Takes an input u8 [[NCM_services#StorageId|StorageId]], no output.


Returns the u64 from [[Content_Manager_services#IContentStorage]] cmd22.
The StorageId must be SdCard.
 
Returns the s64 from [[NCM_services#IContentStorage]] GetFreeSpaceSize.


== GetFreeSpaceSize ==
== GetFreeSpaceSize ==
Takes an input media-id that must be 5.
Takes an input u8 [[NCM_services#StorageId|StorageId]], no output.
 
The StorageId must be SdCard.


Returns the u64 from [[Content_Manager_services#IContentStorage]] cmd23.
Returns the s64 from [[NCM_services#IContentStorage]] GetTotalSpaceSize.


== GetApplicationDesiredLanguage ==
== GetApplicationDesiredLanguage ==