![]() |
MKI_FileWriteEndOfFile (File I/O) |
www.CAD6.com |
C++ Syntaxbool MKI_FileWriteEndOfFile( void );
Terminate the current file by writing the =EXIT= keyword followed by a CRC ("cyclic redundancy check") value. Even though the plug-in could do this manually, do always use this procedure to be compatible with future releases of the interface!
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_FileWriteInitNull, MKI_FileWriteInitDisk or MKI_FileWriteInitMemory. As a result, it will fail if this cache is currently not activated!
The behavior of this procedure depends on the settings of MKI_FileWriteDelimiters and MKI_FileWriteZeros!
|
CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH