NAME

RtlAppendUnicodeToString  (NTDLL.@)

SYNOPSIS

 NTSTATUS RtlAppendUnicodeToString
 (
  UNICODE_STRING* dest,
  LPCWSTR         src
 )

PARAMS

dest [In/Out] Buffered unicode string to which src is concatenated.
src [In] '\0' terminated unicode string to be concatenated.

DESCRIPTION

Concatenates a buffered unicode string and a '\0' 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 '\0' terminated when the MaximumLength allows it. When dest fits exactly in MaximumLength characters the '\0' is omitted.

DIFFERENCES

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

IMPLEMENTATION

Declared in "include/winternl.h". gitlab.winehq.org/wine/wine/blob/master/include/winternl.h

Implemented in "dlls/ntdll/rtlstr.c". gitlab.winehq.org/wine/wine/blob/master/dlls/ntdll/rtlstr.c

Debug channel "ntdll".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.