Important: The information in this document is obsolete and should not be used for new development.
GetRandomSeed
You can use theGetRandomSeed
function to return the current seed for the random number generating algorithm.
wide *GetRandomSeed(wide *seed);
seed
- A pointer to the current random number generator seed.
- function result
- The pointer passed in the
seed parameter.
DESCRIPTION
TheGetRandomSeed
function returns the current seed for the random number generator and returns the pointer passed inseed
.SEE ALSO
TheRandomBits
function uses the current seed to generate the next random number. TheRandomBits
function is described in the previous section. TheSetRandomSeed
function changes the current seed. TheSetRandomSeed
function is described in the previous section.