NTSTATUS
RtlCharToInteger(
IN PCSZ String,
IN ULONG Base, /* optional */
IN OUT PULONG Value
);
RtlCharToInteger converts a single-byte character to an integer value in the specified base.
RtlCharToInteger returns STATUS_SUCCESS if the given character is converted. Otherwise, it can return STATUS_INVALID_PARAMETER.
RtlCharToInteger converts ANSI alphanumeric characters.
Callers of RtlCharToInteger must be running at IRQL PASSIVE_LEVEL.