#ifndef _NTRTL_H
_Ret_range_(<=, MAXLONG)
NTSYSAPI
ULONG
NTAPI
RtlRandom(
_Inout_ PULONG Seed
);
View code on GitHub
#ifndef _NTRTL_FWD_H
// begin_forwarders
#ifndef PHNT_INLINE_NAME_FORWARDERS
#define RtlRandom RtlRandomEx
View code on GitHub
This function is documented in Windows Driver Kit.