Is it possible to use rand() in Kernel Drivers..?

Hi

Is it possible to use rand() in Kernel Drivers…?

Any other similiar routines that can use in Kernel Drivers.

Thanks
SanWin


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

It is exported by the kernel, but I would use

ULONG RtlRandom (PULONG Seed)

this is thread safe and documented in the IFS kit.

Don Burn
Windows 2000 Device Driver and Filesystem consulting

----- Original Message -----
From: “San Wind”
To: “NT Developers Interest List”
Sent: Monday, September 10, 2001 7:55 AM
Subject: [ntdev] Is it possible to use rand() in Kernel Drivers…?

> Hi
>
> Is it possible to use rand() in Kernel Drivers…?
>
> Any other similiar routines that can use in Kernel Drivers.
>
>
>
> Thanks
> SanWin
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@acm.org
> To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com