ReadHardwareRandomNumber

Gets a 32-bit random number.

Synopsis

uint32 ReadHardwareRandomNumber( void )

Description

The procedure returns a random number generated by the hardware. This is useful for providing a seed to the software random-number generator.

Return Value

The procedure returns an unsigned 32-bit random number. The number can be any integer from 0 to (2^32 - 1), inclusive.

Implementation

SWI implemented in kernel folio V20.

Associated Files

hardware.h
ANSI C Prototype