Export (0) Print
Expand All
Expand Minimize

RtlAppendUnicodeStringToString routine

The RtlAppendUnicodeStringToString routine concatenates two Unicode strings.

Syntax


NTSTATUS RtlAppendUnicodeStringToString(
  _Inout_  PUNICODE_STRING Destination,
  _In_     PCUNICODE_STRING Source
);

Parameters

Destination [in, out]

Pointer to a buffered Unicode string.

Source [in]

Pointer to the buffered string to be concatenated.

Return value

RtlAppendUnicodeStringToString can return one of the following:

Return codeDescription
STATUS_SUCCESS

The source string was successfully appended to the destination counted string. The destination string length is updated to include the appended bytes.

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.

 

Remarks

RtlAppendUnicodeStringToString copies bytes from the source up to the length of the destination buffer.

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

Requirements

Version

Available starting with Windows 2000.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

Library

Ntoskrnl.lib

IRQL

See Remarks section.

See also

RtlAppendUnicodeToString

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft