RtlUniform (NTDLL.@)
ULONG RtlUniform ( ULONG* seed )
Generates a uniform random number.
seed | [Out] | The seed of the Random function. |
It returns a random number uniformly distributed over [0..MAXLONG-1].
Generates a uniform random number using a linear congruential generator.
The native documentation states that the random number is uniformly distributed over [0..MAXLONG]. In reality the native function and our function return a random number uniformly distributed over [0..MAXLONG-1].
Declared in "include/winternl.h". gitlab.winehq.org/wine/wine/blob/master/include/winternl.h
Implemented in "dlls/ntdll/rtl.c". gitlab.winehq.org/wine/wine/blob/master/dlls/ntdll/rtl.c
Debug channel "ntdll".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.