RtlIntegerToChar(3w)

NAME

RtlIntegerToChar (NTDLL.@)

SYNOPSIS

NTSTATUS RtlIntegerToChar
 (
  ULONG value,
  ULONG base,
  ULONG length,
  PCHAR str
 )

PARAMS

value [In] Value to be converted.

base [In] Number base for conversion (allowed 0,2,8,10 or 16).

length [In] Length of the str buffer in bytes.

str [Out] Destination for the converted value.

DESCRIPTION

Converts an unsigned integer to a character string.

RETURNS

Success: STATUS_SUCCESS. str contains the converted number

Failure: STATUS_INVALID_PARAMETER, if base is not 0, 2, 8, 10 or 16. STATUS_BUFFER_OVERFLOW, if str would be larger than length. STATUS_ACCESS_VIOLATION, if str is NULL.

NOTES

Instead of base 0 it uses 10 as base. Writes at most length characters to the string str. Str is ' ' terminated when length allows it. When str fits exactly in length characters the ' ' is omitted.

IMPLEMENTATION

Defined in "winternl.h".

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/ntdll/rtlstr.c".

Debug channel "ntdll".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout