ntdll: Partially implement RtlRandomEx().

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2018-10-26 13:07:15 +02:00
parent a0050be13f
commit 72662305b3
3 changed files with 11 additions and 2 deletions

View File

@ -839,7 +839,7 @@
@ stdcall -norelay RtlRaiseException(ptr)
@ stdcall RtlRaiseStatus(long)
@ stdcall RtlRandom(ptr)
@ stub RtlRandomEx
@ stdcall RtlRandomEx(ptr)
@ stdcall RtlReAllocateHeap(long long ptr long)
@ stub RtlReadMemoryStream
@ stub RtlReadOutOfProcessMemoryStream

View File

@ -752,6 +752,15 @@ ULONG WINAPI RtlRandom (PULONG seed)
}
/*************************************************************************
* RtlRandomEx [NTDLL.@]
*/
ULONG WINAPI RtlRandomEx( ULONG *seed )
{
WARN( "semi-stub: should use a different algorithm\n" );
return RtlRandom( seed );
}
/*************************************************************************
* RtlAreAllAccessesGranted [NTDLL.@]
*

View File

@ -1144,7 +1144,7 @@
@ stdcall RtlQueryTimeZoneInformation(ptr)
@ stdcall -norelay RtlRaiseException(ptr)
@ stdcall RtlRandom(ptr)
@ stub RtlRandomEx
@ stdcall RtlRandomEx(ptr)
@ stub RtlRealPredecessor
@ stub RtlRealSuccessor
@ stub RtlRemoveUnicodePrefix