---
name: "_ui64tow"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.4.1-4"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/_ui64tow"
---

# \_ui64tow(3w)

## NAME

**\_ui64tow** (NTDLL.@)

## SYNOPSIS

LPWSTR \_ui64tow\
  (\
   ULONGLONG *value*,\
   LPWSTR    *str*,\
   INT       *radix*\
  )

## PARAMS

*value* **\[In\]**  Value to be converted.

*str* **\[Out\]**  Destination for the converted *value*.

*radix* **\[In\]**  Number base for conversion.

## DESCRIPTION

Converts a large unsigned integer to a unicode string.

## RETURNS

Always returns *str*.

## NOTES

Converts *value* to a **' '** terminated wstring which is copied to *str*. The maximum length of the copied *str* is **33** bytes. Does not check if *radix* is in the range of **2** to **36.** If *str* is **NULL** it just returns **NULL**.

## DIFFERENCES

**-** This function does not exist in the native dll (but in msvcrt). But since the maintenance of all these functions is better done in one place we implement it here.

## IMPLEMENTATION

Declared in **"msvcrt/stdlib.h"**.

Implemented in **"dlls/ntdll/wcstring.c"**.
