RtlCopyUnicodeString

VOID
RtlCopyUnicodeString(

IN OUT PUNICODE_STRING DestinationString,
IN PUNICODE_STRING SourceString
);

RtlCopyUnicodeString copies a source string to a destination string.

Parameters

DestinationString

Points to the destination string buffer.

SourceString

Points to the source string buffer.

Comments

If the source string is longer than the destination string, this routine copies bytes from the source to the end of the destination buffer, effectively truncating the copied source string.

The DestinationString and SourceString buffers must be resident if the caller is running at IRQL >= DISPATCH_LEVEL.

See Also

RtlCopyString