Random (Windows CE 5.0)

Send Feedback

This function generates a random number.

DWORD Random();

Parameters

None.

Return Values

A randomly generated DWORD.

Remarks

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

Windows CE also supports the rand function in the C run-time library.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winbase.h.
Link Library: Coredll.lib.

See Also

Time Functions | GetTickCount

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.