MNLS_lstrcpyW

Applies to: Outlook 2013 | Outlook 2016

Copies a string to a buffer.

Caution

Do not use. Consider using StringCchCopy instead.

LPWSTR MNLS_lstrcpyW(
 LPWSTR lpString1,
LPCWSTR lpString2);

Parameters

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.

Return value

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.

Remarks

This function wraps the lstrcpy function. For more information, see lstrcpy.

See also

lstrcpy