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 |
); |
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 GetLastError.