![]() |
MKI_FileWriteInitMemory (File I/O) |
www.CAD6.com |
C++ Syntaxbool MKI_FileWriteInitMemory( HGLOBAL f_hMemory, const size_t f_unMemorySize );
Prepares writing to a memory image using an additional, high-performance write cache. This cache will automatically be used by all MKI_FileWrite* procedures.
ParametersMemory [HGLOBAL] Handle of allocated global memory. This memory must have been allocated using the GMEM_MOVEABLE attribute. MemorySize [size_t] Maximum number of bytes that may be written to the global memory area. This value may be less than the memory area's size.
Return ValueReturns true if the cache has been established successfully, else false (indicating insufficient memory).
|
CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH