MKI_LibraryGetInfoByName (Library) Changed in Version 2025.1

www.CAD6.com

C++ Syntax

bool

MKI_LibraryGetInfoByName(

 const LPCWSTR f_pszLibraryName,

 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 title (located in its header).

 

Parameters

LibraryName

[const LPCWSTR] Name of the library.

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, a library with the given LibraryName was not found.

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH