lstrcatA function

Appends one string to another.

Warning  Do not use. Consider using StringCchCat instead. See Security Considerations.
 

Syntax

LPSTR lstrcatA(
  LPSTR  lpString1,
  LPCSTR lpString2
);

Parameters

lpString1

Type: LPTSTR

The first null-terminated string. This buffer must be large enough to contain both strings.

lpString2

Type: LPTSTR

The null-terminated string to be appended to the string specified in the lpString1 parameter.

Return Value

Type: LPTSTR

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.

Requirements

   
Windows version Windows 2000 Professional [desktop apps only] Windows 2000 Server [desktop apps only]
Target Platform Windows
Header winbase.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll

See Also

Conceptual

Reference

StringCbCat

StringCbCatEx

StringCbCatN

StringCbCatNEx

StringCchCat

StringCchCatEx

StringCchCatN

StringCchCatNEx

Strings

lstrcmp

lstrcmpi

lstrlen