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

Syntax

Result TryInitialize(
     const wchar_t * pathName
);

Result TryInitialize(
     const char * pathName
);

List of Overloaded Member Functions

TryInitialize(const wchar_t *) Tries to open the specified directory.
TryInitialize(const char *) Tries to open the specified directory.

Description of TryInitialize(const wchar_t *)

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

Description of TryInitialize(const char *)

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.


CONFIDENTIAL