nn::fs::FileStream::Initialize Member Function

Syntax

void Initialize(
     const wchar_t * pathName,
     bit32 openMode
);

void Initialize(
     const char * pathName,
     bit32 openMode
);

List of Overloaded Member Functions

Initialize ( const wchar_t *, bit32 ) Opens the specified file.
Initialize ( const char *, bit32 ) Opens the specified file.

Description of Initialize ( const wchar_t *, bit32 )

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.

Description of Initialize ( const char *, bit32 )

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