RtlIntegerToUnicodeString

NTSTATUS
RtlIntegerToUnicodeString(

IN ULONG Value,
IN ULONG Base,/* optional */
IN OUT PUNICODE_STRING String
);

RtlIntegerToUnicodeString converts a given unsigned integer value in the specified base to one or more buffered Unicode characters.

Parameters

Value

Identifies an unsigned integer of type ULONG.

Base

Specifies decimal, binary, octal, or hexadecimal base.

String

Points to a buffer to contain the converted value.

Return Value

If RtlIntegerToUnicodeString succeeds, it returns STATUS_SUCCESS. Otherwise, it can return STATUS_INVALID_PARAMETER if the given Value is illegal for the specified base.

Comments

Callers of RtlIntegerToUnicodeString must be running at IRQL PASSIVE_LEVEL.

See Also

RtlUnicodeStringToInteger, RtlAppendUnicodeStringToString