RtlUpperString

VOID
RtlUpperString(

IN OUT PSTRING DestinationString,
IN PSTRING SourceString
);

RtlUpperString copies the given SourceString to the DestinationString buffer, converting it to uppercase.

Parameters

DestinationString

Points to the buffer for the converted destination string.

SourceString

Points to the source string to be converted to uppercase.

Comments

The MaximumLength and Buffer fields of DestinationString are not modified by this routine.

The number of bytes copied from SourceString is either the Length of SourceString or the MaximumLength of DestinationString, whichever is smaller.

Callers of RtlUpperString must be running at IRQL PASSIVE_LEVEL.