MKI_FileReadInitMemory (File I/O)

www.CAD6.com

C++ Syntax

bool

MKI_FileReadInitMemory(

 HGLOBAL f_hMemory );

 

Prepares reading from a memory image using an additional, high-performance read cache. This cache will automatically be used by all MKI_FileRead* procedures.

 

Parameters

Memory

[HGLOBAL] Handle of allocated global memory. This memory must have been allocated using the GMEM_MOVEABLE attribute. This handle may also be a clipboard object handle returned by the GetClipboardData procedure of Win32.

 

Return Value

Returns true if the cache has been established successfully, else false (indicating insufficient memory).

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH