MKI_PathA (Strings) Changed in Version 2019.1

www.CAD6.com

C++ Syntax

void

MKI_PathA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize );

 

 template <size_t f_unSize> void

 MKI_PathA(

         char (&f_rDestin)[f_unSize] );

 

Checks if an Ansi or UTF-8 pathname ends with a '\' character. If not, such a character will be appended.

 

Parameters

Destin

[LPSTR] Address of the destination text.

MaxSize

[const size_t] Maximum allowed length of the destination text in Ansi or UTF-8 characters including the terminating '\0' character.

 

Comment

It is guaranteed that the resulting text will always be terminated with a '\0' character!

 

CAD6interface 2025.0 - Copyright 2025 Malz++Kassner® GmbH