Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CeGenRandom

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function fills a buffer with random bytes.


BOOL CeGenRandom(
  DWORD dwLen, 
  BYTE* pbBuffer 
);
dwLen

[in] Specifies the number of bytes of random data to be generated.

pbBuffer

[in, out] Pointer to the buffer that receives the random data. The buffer must be at least dwLen bytes in size. Optionally, the application can provide data in the buffer to use as an auxiliary random seed.

Nonzero indicates success. Zero indicates failure.

Headerwinbase.h
Librarycoredll.lib
Windows Embedded CEWindows CE .NET 4.1 and later
Windows MobileWindows Mobile Version 5.0 and later
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.