RtlUniform function (winternl.h)
Generates a uniform random number using D.H. Lehmer's 1948 algorithm.
Syntax
ULONG RtlUniform(
[in, out] PULONG Seed
);
Parameters
[in, out] Seed
The seed value.
Return value
The function returns a random number uniformly distributed over [0..MAXLONG].
Remarks
This function has no associated import library. You must use the LoadLibrary and GetProcAddress functions to dynamically link to Ntdll.dll.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | winternl.h |
Library | ntdll.lib |
DLL | ntdll.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for