MKI_FileOpen (File I/O)

www.CAD6.com

C++ Syntax

bool

MKI_FileOpen(

 HANDLE* f_pFileHandle,

 const LPCWSTR f_pszFileName );

 

Opens an existing file for read-only access.

 

Parameters

FileHandle

[HANDLE*] Address of file handle to receive the opened file's handle.

FileName

[const LPCWSTR] Address of file name.

 

Return Value

Returns true if the file has been opened successfully, else false (indicating that either the file does not exist or the current user has no reading access to that file).

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH