MKI_PathW (Strings) Changed in Version 2019.1

www.CAD6.com

C++ Syntax

void

MKI_PathW(

 LPWSTR f_pszDestin,

 const size_t f_unMaxSize );

 

 template <size_t f_unSize> void

 MKI_PathW(

         wchar_t (&f_rDestin)[f_unSize] );

 

Checks if a Unicode pathname ends with a '\' character. If not, such a character will be appended.

 

Parameters

Destin

[LPWSTR] Address of the destination text.

MaxSize

[const size_t] Maximum allowed length of the destination text in UTF-16 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