nn::fs::Directory::TryInitialize Member Function

Syntax

Result TryInitialize(
     const char * pathName
);

Arguments

Name Description
in pathName Path of the directory to open

Return Values

Returns the result of the operation.

Description

Tries to open the specified directory.

Opens the directory in the specified path. This function returns an error when this object already has opened a directory.


Note: This function uses a large amount of buffer space on the stack because it converts the path name from a multibyte character string into a wide character string. Pay careful attention to the stack size.

Revision History

2011/10/27
Initial version.

CONFIDENTIAL