RtlInitUnicodeStringEx(3w)

RtlInitUnicodeStringEx3w

Usage

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.

Overview

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".

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.