|
MKI_FileWriteData (File I/O) |
www.CAD6.com |
C++ Syntaxbool MKI_FileWriteData( const void* const f_pData, const size_t f_unSize );
Writes a given number of bytes to the current write cache.
ParametersData [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 ValueReturns true if the data has been written successfully, else false (indicating disk full). Additionally, the return value of MKI_FileWriteError will be set to true if an error occurred.
CommentThis procedure relies on a high-performance write cache previously established by either MKI_FileWriteInitMull, MKI_FileWriteInitDisk or MKI_FileWriteInitMemory. As a result, it will fail if this cache is currently not activated!
|
CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH