RtlAppendUnicodeToString(3w)

RtlAppendUnicodeToString3w

Usage

NTSTATUS RtlAppendUnicodeToString
(
UNICODE_STRING* dest,
LPCWSTR src
)

Params

dest [In/Out] Buffered unicode string to which src is concatenated.

src [In] ' ' terminated unicode string to be concatenated.

Overview

Concatenates a buffered unicode string and a ' ' terminated unicode string.

Returns

Success: STATUS_SUCCESS. src is appended to dest.

Failure: STATUS_BUFFER_TOO_SMALL, if the buffer of dest is too small to hold the concatenated string.

Notes

if src is NULL dest is unchanged. dest is ' ' terminated when the MaximumLength allows it. When dest fits exactly in MaximumLength characters the ' ' is omitted.

Differences

Does not write in the src->Buffer beyond MaximumLength when MaximumLength is odd as the native function does.

Implementation

Declared in "winternl.h".

Implemented in "dlls/ntdll/rtlstr.c".

Debug channel "ntdll".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.