MKI_FileReadProfileEntry (File I/O)

www.CAD6.com

C++ Syntax

__int32

MKI_FileReadProfileEntry( void );

 

Tries to read one profile entry inside the =PROFILE= section of a file. It then returns the index of the profile entry found, or a negative value in case of error.

 

Return Value

Returns the index of the profile entry. If no valid profile entry was found, a negative value is returned. If the end of the current section is detected, then MKI_MKD_ENTRY_END is returned. See Section =PROFILE= for a list of all profile entry indexes.

 

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!

 

The behavior of this procedure depends on the settings of MKI_FileReadDelimiters!

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH