nn::fs::FileInputStream::TryInitialize Member Function
TryInitialize(const wchar_t *)
|
Tries to open the specified file. |
TryInitialize(const char *)
|
Tries to open the specified file. |
TryInitialize(const wchar_t *)Opens the file at the specified path, giving it read-only access, and enables loading. This function returns any error that occurs while it is opening the file. You cannot call this function if this object already has a file open.
TryInitialize(const char *)Opens the file at the specified path, giving it read-only access, and enables loading. This function returns any error that occurs while it is opening the file. You cannot call this function if this object already has a file open.
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