Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

MNLS_lstrcpyW

Office 2013

Published: July 16, 2012

Copies a string to a buffer.

Caution note Caution

Do not use. Consider using StringCchCopy instead.

LPWSTR MNLS_lstrcpyW(
 LPWSTR lpString1,
LPCWSTR lpString2);
lpString1

[out] A buffer to receive the contents of the string pointed to by the lpString2 parameter.

lpString2

[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.

Other resources

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.