Reference

RtlUpcaseUnicodeString(3w)

NAME

RtlUpcaseUnicodeString (NTDLL.@)

SYNOPSIS

NTSTATUS RtlUpcaseUnicodeString
(
UNICODE_STRING* dest,
const UNICODE_STRING* src,
BOOLEAN doalloc
)

DESCRIPTION

Converts a Unicode string to uppercase.

PARAMS

dest [Out] Destination for converted string.

src [In] Source string to convert.

doalloc [In] TRUE=Allocate a buffer for dest if it doesn't have one.

RETURNS

Success: STATUS_SUCCESS. dest contains the converted string.

Failure: STATUS_NO_MEMORY, if doalloc is TRUE and memory allocation fails, or STATUS_BUFFER_OVERFLOW, if doalloc is FALSE and dest is too small.

NOTES

dest is never ' ' terminated because it may be equal to src, and src might not be ' ' terminated. dest->Length is only set upon success.

IMPLEMENTATION

Declared in "winternl.h".

Implemented in "dlls/ntdll/rtlstr.c".

Debug channel "ntdll".

History