nn::fs::FileInputStream::TryInitialize Member Function

Syntax

Result TryInitialize(
     const wchar_t * pathName
);

Arguments

Name Description
in pathName Path of the file to open.

Return Values

Result of opening the file.

Description

Tries to open the specified file.

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.


CONFIDENTIAL