LPSTR lstrcpy(lpString1,lpString2)
This function copies lpString2, including the terminating null character, to the location specified by lpString1, and returns lpString1.
All strings must be less than 64K in size.
Parameter | Type/Description |
lpString1 | LPSTR Points to a buffer to receive the contents of lpString2. The buffer must be large enough to contain lpString2. | |
lpString2 | LPSTR Points to the null-terminated string to be copied. |
The return value specifies a pointer to lpString1. It is zero if the function fails.