MKI_JoinW (Strings) Changed in Version 2019.1

www.CAD6.com

C++ Syntax

bool

MKI_JoinW(

 LPWSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCWSTR f_pszSource1 );

 

bool

MKI_JoinW(

 LPWSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCWSTR f_pszSource1,

 LPCWSTR f_pszSource2 );

 

bool

MKI_JoinW(

 LPWSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCWSTR f_pszSource1,

 LPCWSTR f_pszSource2,

 LPCWSTR f_pszSource3 );

 

bool

MKI_JoinW( 

 LPWSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCWSTR f_pszSource1,

 LPCWSTR f_pszSource2,

 LPCWSTR f_pszSource3,

 LPCWSTR f_pszSource4 );

 

bool

MKI_JoinW(

 LPWSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCWSTR f_pszSource1,

 LPCWSTR f_pszSource2,

 LPCWSTR f_pszSource3,

 LPCWSTR f_pszSource4,

 LPCWSTR f_pszSource5 );

 

bool

MKI_JoinW(

 LPWSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCWSTR f_pszSource1,

 LPCWSTR f_pszSource2,

 LPCWSTR f_pszSource3,

 LPCWSTR f_pszSource4,

 LPCWSTR f_pszSource5,

 LPCWSTR f_pszSource6 );

 

bool

MKI_JoinW(

 LPWSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCWSTR f_pszSource1,

 LPCWSTR f_pszSource2,

 LPCWSTR f_pszSource3,

 LPCWSTR f_pszSource4,

 LPCWSTR f_pszSource5,

 LPCWSTR f_pszSource6,

 LPCWSTR f_pszSource7 );

 

bool

MKI_JoinW(

 LPWSTR f_pszDestin,

 const size_t f_unMaxSize,

 wchar_t f_chChar );

 

template <size_t f_unSize> bool

MKI_JoinW(

 wchar_t (&f_rDestin)[f_unSize],

 ... );

 

Appends one or multiple Unicode texts to one other Unicode text.

 

Parameters

f_pszDestin / f_rDestin

[LPWSTR] Pointer to or [wchar_t[]&] Reference to the destination text.

f_unMaxSize

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

f_pszSource1

f_pszSource2

f_pszSource3

f_pszSource4

f_pszSource5

f_pszSource6

f_pszSource7

[LPCWSTR] Addresses of the source texts.

f_chChar

[wchar_t] Character to be appended.

 

Return Value

Returns true if all texts could be appended completely. Otherwise, false is returned, indicating the texts to be appended were too long.

 

Comment

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

 

CAD6interface 2026.0 - Copyright 2026 Malz++Kassner® GmbH