RtlAppendUnicodeToString

NTSTATUS
RtlAppendUnicodeToString(

IN OUT PUNICODE_STRING Destination,
IN PWSTR Source
);

RtlAppendUnicodeToString concatenates the supplied Unicode string to a buffered Unicode string. It copies bytes from the source string to the destination string up to the end of the destination buffer.

Parameters

Destination

Points to the buffered string.

Source

Points to the string to be appended to the Destination string.

Return Value

RtlAppendUnicodeToString can return one of the following status codes:

Value Meaning
STATUS_SUCCESS The source string was successfully appended to the destination counted string.
STATUS_BUFFER_TOO_SMALL The destination string length was too small to allow the source string to be appended, so the destination string length is not updated.

Comments

The Destination buffer must be resident if the caller is running at IRQL >= DISPATCH_LEVEL.

See Also

RtlAppendUnicodeStringToString