RtlAppendUnicodeStringToString

NTSTATUS
    RtlAppendUnicodeStringToString(

        IN OUT PUNICODE_STRING  Destination,
        IN PUNICODE_STRING  Source
        );

RtlAppendUnicodeStringToString concatenates two Unicode strings. It copies bytes from the source up to the length of the destination buffer.

Parameters

Destination
Points to a buffered Unicode string.
Source
Points to the buffered string to be concatenated.

Return Value

RtlAppendUnicodeStringToString can return one of the following values:

Value

Meaning

STATUS_SUCCESS

The source string was successfully appended to the destination counted string.

STATUS_BUFFER_TOO_SMALL

The destination string length is too small to allow the source string to be concatenated. Accordingly, the destination string length is not updated.

Comments

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

See Also

RtlAppendUnicodeToString