lstrcat  66ZQ36 

The lstrcat function appends one string to another.

LPTSTR lstrcat(

    LPTSTR lpString1,

// address of buffer for concatenated strings

    LPCTSTR lpString2

// address of string to add to string1

   );

 

 

Parameters

lpString1

Points to a null-terminated string. The buffer must be large enough to contain both strings.

lpString2

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

 

Return Values

If the function succeeds, the return value is a pointer to the buffer.

If the function fails, the return value is NULL. To get extended error information, call GetLastError11C2VS7.

See Also

lstrcmp, lstrcmpi, lstrcpy, lstrlen