MKI_ProfileWriteString (Settings) Changed in Version 2019.1

www.CAD6.com

C++ Syntax

bool

MKI_ProfileWriteString(

 const LPCWSTR f_pszValueName,

 const LPCSTR f_pszValue );

 

bool

MKI_ProfileWriteString(

 const LPCWSTR f_pszValueName,

 const LPCWSTR f_pszValue );

 

Writes a string value to a previously opened key in the configuration file or a collection item.

 

Parameters

ValueName Changed in Version 2019.1

[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

[const LPCSTR] Ansi value or [const LPCWSTR] UTF-16 value to be stored. If Value is nullptr, the value identified by ValueName will be deleted!

 

Return Value

Returns true if successful, false if not.

 

CAD6interface 2024.2 - Copyright 2024 Malz++Kassner® GmbH