FLuminPlatformFile::OpenRead

Attempt to open a file for reading.

Windows
MacOS
Linux

Override Hierarchy

IPlatformFile::OpenRead()

FLuminPlatformFile::OpenRead()

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Lumin/LuminPlatformFile.h

Include

#include "Lumin/LuminPlatformFile.h"

Source

/Engine/Source/Runtime/Core/Private/Lumin/LuminPlatformFile.cpp

Syntax

virtual IFileHandle * OpenRead
(
    const TCHAR * Filename,
    bool bAllowWrite
)

Remarks

Attempt to open a file for reading.

Returns

If successful will return a non-nullptr pointer. Close the file by delete'ing the handle.

Parameters

Parameter

Description

Filename

file to be opened

bAllowWrite

(applies to certain platforms only) whether this file is allowed to be written to by other processes. This flag is needed to open files that are currently being written to as well.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss