MKI_FileUserPath (File I/O) Changed in Version 2014.2

www.CAD6.com

C++ Syntax

bool

MKI_FileUserPath(

 const LPCWSTR f_pszOldName,

 MKI_FILENAMEW& f_rNewName );

 

Supplies a "simple" file name with the current path for user-dependent data files.

 

Please be aware that MKI_FileAllUsersPath and MKI_FileUserPath may use the same directory if the administrator chose not to save user-dependent data!

 

Parameters

OldName

[const LPCWSTR] Address of incomplete file name.

NewName

[MKI_FILENAMEW&] Address of text buffer to receive the complete file name.

 

Return Value

Returns true if successful, false if not.

 

Comment

This procedure will work for all types of file systems (FAT, Enhanced FAT, NTFS, HPFS). It is especially useful when saving user-dependent settings.

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH