This documentation is archived and is not being maintained.
Last modified: September 19, 2011
Applies to: Office 2010 | Outlook 2010 | Visual Studio
Copies a string to a buffer.
[out] A buffer to receive the contents of the string pointed to by the lpString2 parameter.
[in] The null-terminated string to be copied.
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.
This function wraps the lstrcpy function. For more information, see lstrcpy.