MKI_FileBaseName (File I/O) New in Version 2014.2

www.CAD6.com

C++ Syntax

bool

MKI_FileBaseName(

 const LPCWSTR f_pszFullName,

 MKI_FILENAMEW& f_rName );

 

Separates a file's name into its path and file components.

 

Parameters

FullName

[const LPCWSTR] Address of file name to be split.

Name

[MKI_FILENAMEW&] Address of text buffer to receive the file component of the 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).

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH