NAME

RtlInitUnicodeStringEx  (NTDLL.@)

SYNOPSIS

 NTSTATUS RtlInitUnicodeStringEx
 (
  PUNICODE_STRING target,
  PCWSTR          source
 )

PARAMS

target [In/Out] Buffered unicode string to be initialized.
source [In] '\0' terminated unicode string used to initialize target.

DESCRIPTION

Initializes a buffered unicode string.

RETURNS

Success: STATUS_SUCCESS. target is initialized.

Failure: STATUS_NAME_TOO_LONG, if the source string is larger than 65532 bytes.

NOTES

Assigns source to target->Buffer. The length of source is assigned to target->Length and target->MaximumLength. If source is NULL the length of source is assumed to be 0.

IMPLEMENTATION

Declared in "winternl.h". https://source.winehq.org/source/include/winternl.h

Implemented in "dlls/ntdll/rtlstr.c". https://source.winehq.org/source/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 Apr 2024.