lstrcatA function (winbase.h)
Appends one string to another.
LPSTR lstrcatA( [in, out] LPSTR lpString1, [in] LPCSTR lpString2 );
[in, out] lpString1
The first null-terminated string. This buffer must be large enough to contain both strings.
The null-terminated string to be appended to the string specified in the lpString1 parameter.
If the function succeeds, the return value is a pointer to the buffer.
If the function fails, the return value is NULL and lpString1 may not be null-terminated.
The winbase.h header defines lstrcat as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||winbase.h (include Windows.h)|