Partager via


Random (Compact 2013)

3/28/2014

This function generates a random number.

Syntax

DWORD Random();

Parameters

None.

Return Value

A randomly generated DWORD.

Remarks

The number generated by Random is based on a seed derived automatically from internal calls to the GetTickCount function.

Requirements

Header

winbase.h

Library

coredll.lib

See Also

Reference

Time Functions
GetTickCount