nn::fs::FileStream::Initialize Member Function
void Initialize(
const wchar_t * pathName,
bit32 openMode
);
void Initialize(
const char * pathName,
bit32 openMode
);
| Initialize ( const wchar_t *, bit32 ) | Opens the specified file. |
| Initialize ( const char *, bit32 ) | Opens the specified file. |
The file in the specified path is opened in OpenMode. A file is created and opened write-only if it does not exist at the specified path. Do not call this function if this object has already opened a file.
For details on the openMode argument, see FileStream::FileStream.
The file at the specified path is opened in OpenMode. A file is created and opened write-only if it does not exist at the specified path. 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