#include <nn/save.h> FSStatus SAVEOpenDir( FSClient *client, FSCmdBlock *block, u8 accountSlotNo, const char *path, FSDirHandle *dirHandle, FSRetFlag errHandling ); FSStatus SAVEOpenDirAsync( FSClient *client, FSCmdBlock *block, u8 accountSlotNo, const char *path, FSDirHandle *dirHandle, FSRetFlag errHandling, const FSAsyncParams *asyncParams );
|client||Pointer to the client buffer.|
|accountSlotNo||The user account slot number.|
|path||Directory path. The relative path for the save directory for the specified user account. The length must be less than
|dirHandle||Pointer to the handle of the directory stream associated with the directory to open.|
|errHandling||Automatic error handling flag. Only the indicated error is returned.|
|asyncParams||(Async API only) Notification parameters for an asynchronous call.|
||The command was canceled.|
||System has too many directory points to create more.|
||Target not found.
The specified user account does not exist on this Wii U console.
||Specified path is not a directory.|
||The caller does not have correct access permission.|
||(Only for manually mounted devices) Media is not present.|
||(Only for manually mounted devices) Media is in some inaccessible condition.|
||(Only for manually mounted devices) The data is corrupted beyond repair. The volume needs format.|
||Successfully issued the request.|
||The specified user account does not exist on this Wii U console.|
||The argument is invalid.|
Opens the save subdirectory specified in path and creates the directory stream associated with that directory. The position of the directory stream is set to the head.
The generated directory handle is stored in dirHandle when the process is completed.
Both the sync and the async style API functions are provided. To use the async API functions, set the user callback and parameters in asyncParams. For more information, see
2014/10/22 Revised the return values.
2013/05/08 Automated cleanup pass.
2012/10/01 Revised the return values.
2012/06/14 Fixed an argument.
2012/03/29 Initial version.