MKI_LibraryGetInfoByIndex (Library) Changed in Version 2025.1

www.CAD6.com

C++ Syntax

bool

MKI_LibraryGetInfoByIndex(

 __int32 f_nLibraryNum,

 MKI_FILENAMEW& f_rFileName,

 MKI_FILE_HEADER_PTR f_pFileHeader,

 bool* f_pfReadOnly,

 __int32* f_pnEmbedding );

 

Retrieves information about a library by means of its index. Especially the library's title (located in its header) is used to identify that library inside instances.

 

Parameters

LibraryNum

[__int32] Zero-based index of the library whose title shall be retrieved.

FileName

[MKI_FILENAMEW&] Address of buffer to receive the library's file name.

FileHeader

[MKI_FILE_HEADER_PTR] Address of buffer to receive the library's header. May be nullptr.

ReadOnly

[bool*] Address of a bool to receive the library's current read-only status. May be nullptr.

Embedding

[__int32*] Address of an integer to receive the library's current embedding mode. May be nullptr.

 

Return Value

Returns true if successful. If false is returned, the given LibraryNum was invalid.

 

CAD6interface 2025.1 - Copyright 2025 Malz++Kassner® GmbH