.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH RtlInitUnicodeStringEx 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBRtlInitUnicodeStringEx\fR (NTDLL.@) .SH SYNOPSIS NTSTATUS RtlInitUnicodeStringEx ( PUNICODE_STRING \fItarget\fR, PCWSTR \fIsource\fR ) .SH PARAMS \fItarget\fR \fB[In/Out]\fR Buffered unicode string to be initialized. .PP \fIsource\fR \fB[In]\fR \fB'\0'\fR terminated unicode string used to initialize \fItarget\fR. .PP .SH DESCRIPTION .PP Initializes a buffered unicode string. .SH RETURNS .PP \fBSuccess:\fR \fBSTATUS_SUCCESS\fR. \fItarget\fR is initialized. .PP \fBFailure:\fR \fBSTATUS_NAME_TOO_LONG\fR, if the \fIsource\fR string is larger than \fB65532\fR bytes. .SH NOTES .PP Assigns \fIsource\fR to \fItarget\fR\fI->Buffer\fR. The length of \fIsource\fR is assigned to \fItarget\fR\fI->Length\fR and \fItarget\fR\fI->MaximumLength\fR. If \fIsource\fR is \fBNULL\fR the length of \fIsource\fR is assumed to be \fB0.\fR .SH IMPLEMENTATION .PP Declared in \fB"winternl.h"\fR. .PP Implemented in \fB"dlls/ntdll/rtlstr.c"\fR. .PP Debug channel \fB"ntdll"\fR.