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.
Parameters
String
Points to a zero-terminated, single-byte character string.
Base
Specifies decimal, binary, octal, or hexadecimal base.
Value
Points to a location to which the converted value is returned.
Return Value
RtlCharToInteger returns STATUS_SUCCESS if the given character is converted. Otherwise, it can return STATUS_INVALID_PARAMETER.
Comments
RtlCharToInteger converts ANSI alphanumeric characters.
Callers of RtlCharToInteger must be running at IRQL PASSIVE_LEVEL.
See Also