lstrcat

Syntax

LPSTR lstrcat(lpString1,lpString2)

This function concatenates lpString2 to the string specified by lpString1, terminates the resulting string with a null character, and returns a far pointer to the concatenated string (lpString1).

All strings must be less than 64K in size.

Parameter Type/Description  

lpString1 LPSTR Points to byte array containing a null-terminated string to which the function is to append lpString2. The byte array containing the string must be large enough to contain both strings.  
lpString2 LPSTR Points to the null-terminated string which the function is to append to lpString1.  

Return Value

The return value specifies a pointer to lpString1. It is zero if the function fails.