MKI_FileReadLastKeyword (File I/O)

www.CAD6.com

C++ Syntax

__int32

MKI_FileReadLastKeyword( void );

 

Retrieves the ID of the least recently read keyword (read by either calling MKI_FileReadKeyword, MKI_FileReadNextKeyword or MKI_FileReadNextSection).

 

Return Value

Returns the index of the least recently read keyword. For a complete list of keyword IDs, please refer to MKI_MKD_KEY_*. If MKI_MKD_KEY_UNKNOWN is returned, ignore the section by immediately calling MKI_FileReadNextSection. For a detailed description of the keyword's usage, see MKD Basics.

 

Comment

This procedure relies on a high-performance read cache previously established by either MKI_FileReadInitDisk, MKI_FileReadInitDiskOffset or MKI_FileReadInitMemory. As a result, it will fail if this cache is currently not activated!

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH