nn::fs::FileInputStream::TryInitialize Member FunctionResult TryInitialize( const char * pathName );
| Name | Description | |
|---|---|---|
| in | pathName | Path of the file to open (path can include ASCII characters only). |
Tries to open the specified file.
It opens the file at the specified path with read-only access and enables reading. You cannot call this function if this object already has a file open.
If an error occurred while trying to open the file, it returns that error.
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