Scroll to navigation

RtlInitUnicodeStringEx(3w) Wine API RtlInitUnicodeStringEx(3w)

NAME

RtlInitUnicodeStringEx (NTDLL.@)

SYNOPSIS

NTSTATUS RtlInitUnicodeStringEx
(
PUNICODE_STRING target,
PCWSTR source
)
 

PARAMS

target [In/Out] Buffered unicode string to be initialized.
source [In] ' ' 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".
Implemented in "dlls/ntdll/rtlstr.c".
Debug channel "ntdll".
Oct 2012 Wine API