Microsoft DirectX 8.1 (C++)

lstrcpyW

Copies a wide string to a buffer.

Syntax

LPWSTR lstrcpyW(
    LPWSTR lpszString1,
    LPCWSTR lpszString2
);

Parameters

lpszString1

Pointer to a buffer to receive the contents of the string pointed to by the lpszString2 parameter. The buffer must be large enough to contain the string, including the terminating wide null character.

lpszString2

Pointer to the null-terminated wide string to be copied.

Return Value

Returns a pointer to the buffer.

See Also