MKI_FileUnbufferedWrite (File I/O) Renamed in Version 2019.1

www.CAD6.com

C++ Syntax

size_t

MKI_FileUnbufferedWrite(

 HANDLE f_hFileHandle,

 const void* const f_pData,

 const size_t f_unSize );

 

Writes data directly to a file opened for write access.

 

This procedure does not support the additional disk write cache, i.e. it may not be used after calling either MKI_FileWriteInitNull, MKI_FileWriteInitDisk or MKI_FileWriteInitMemory!

 

Parameters

FileHandle

[HANDLE] File handle of a file open for write access.

Data

[const void* const] Address of a buffer containing the data to be written to the file.

Size

[const size_t] Number of bytes to be written to the file.

 

Return Value

Returns the number of bytes written to the file. If this value is less than Size, an error has occurred (usually indicating that the drive is full).

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH