MKI_JoinA (Strings) Changed in Version 2019.1

www.CAD6.com

C++ Syntax

bool

MKI_JoinA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1 );

 

bool

MKI_JoinA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2 );

 

bool

MKI_JoinA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2,

 LPCSTR f_pszSource3 );

 

bool

MKI_JoinA( 

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2,

 LPCSTR f_pszSource3,

 LPCSTR f_pszSource4 );

 

bool

MKI_JoinA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2,

 LPCSTR f_pszSource3,

 LPCSTR f_pszSource4,

 LPCSTR f_pszSource5 );

 

bool

MKI_JoinA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2,

 LPCSTR f_pszSource3,

 LPCSTR f_pszSource4,

 LPCSTR f_pszSource5,

 LPCSTR f_pszSource6 );

 

bool

MKI_JoinA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 LPCSTR f_pszSource1,

 LPCSTR f_pszSource2,

 LPCSTR f_pszSource3,

 LPCSTR f_pszSource4,

 LPCSTR f_pszSource5,

 LPCSTR f_pszSource6,

 LPCSTR f_pszSource7 );

 

bool

MKI_JoinA(

 LPSTR f_pszDestin,

 const size_t f_unMaxSize,

 char f_chChar );

 

 template <size_t f_unSize> bool

 MKI_JoinA(

         char (&f_rDestin)[f_unSize],

         ... );

 

Appends one or multiple Ansi or UTF-8 texts to one other Ansi or UTF-8 text.

 

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.

Source1

Source2

Source3

Source4

Source5

Source6

Source7

[LPCSTR] Addresses of the source texts.

Char

[char] 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 2025.0 - Copyright 2025 Malz++Kassner® GmbH