MKI_ProfileReadAttribute (Settings) New in Version 2021.0

www.CAD6.com

C++ Syntax

bool

MKI_ProfileReadAttribute(

 const LPCWSTR f_pszValueName,

 MKI_ATTRIBUTE_ENTRY_REF f_rValue );

 

Reads an attribute from a previously opened key in the configuration file or a collection item.

 

Parameters

ValueName

[const LPCWSTR] Name of the value inside the plug-in's key, up to 63 characters. This value name must be unique throughout all values stored by the plug-in. Use a point as separator for nested value names and brackets for arrays (e.g. "UserData[5].Name").

Value

[MKI_ATTRIBUTE_ENTRY_REF] Address of a buffer that is to receive the attribute if successful.

 

Return Value

Returns true if successful, false if not. The content of Value will only be altered if true is returned.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH