MKI_LibraryGetInfoByName (Library) New in Version 2021.0

www.CAD6.com

C++ Syntax

bool

MKI_LibraryGetInfoByName(

 const LPCWSTR f_pszLibraryName,

 MKI_FILENAMEW& f_rFileName,

 MKI_FILE_HEADER_PTR f_pFileHeader,

 bool* f_pfIsReadOnly );

 

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. If FileHeader is nullptr, no header will be returned.

IsReadOnly

[bool*] Address of a bool to receive the library's current status. If the library is read-only true will be returned, otherwise false. May be nullptr.

 

Return Value

Returns true if successful. If false is returned, a library with the given LibraryName was not found.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH