some ntdll functions (2) - part 1: functions

Alexandre Julliard julliard at winehq.com
Thu Mar 6 14:57:46 CST 2003


thomas.mertes at gmx.at writes:

> + *      _ultoa   (NTDLL.@)
> + *
> + * Converts an unsigned long integer to a string.
> + *
> + * Assigns a '\0' terminated string to str and returns str.
> + * Does not check if radix is in the range of 2 to 36 (as native DLL).
> + *
> + * Difference:
> + * - Does not crash on str == NULL (as native DLL).
> + *   Instead requests the needed memory with RtlAllocateHeap.
> + *   When RtlAllocateHeap fails: return NULL.

Please don't invent extensions to the API. If a function doesn't
allocate memory under Windows it shouldn't allocate memory under Wine
either.

-- 
Alexandre Julliard
julliard at winehq.com



More information about the wine-devel mailing list