MKI_FileCreate (File I/O)

www.CAD6.com

C++ Syntax

bool

MKI_FileCreate(

 HANDLE* f_pFileHandle,

 const LPCWSTR f_pszFileName );

 

Creates a file for write-only access. If a file of the same name does already exist, it will be deleted.

 

Parameters

FileHandle

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

FileName

[const LPCWSTR] Address of file name.

 

Return Value

Returns true if the file has been created successfully, else false (indicating that either the drive is full, write-protected, or the current user has no writing access to that drive).

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH