Hello,
Is there any way to specify 0 (zero) delay in KeDelayExecutionThread() ?
Also, I don’t understand how to use the “Interval” parameter to specify
“absolute” time. Could somebody please explain with an example ?
Currently, I’m doing the following in my code:
delay.LowPart = (ULONG)( - ( 10 * 1000 * 0 ));
delay.HighPart = -1;
And this seems to delay it for approx 54 seconds. Why is this so ?
Thanks
Puja
You must set all the large integer (or LONGLONG).
Negative values means relative time (for eg. -54*1000*1000*10
specify 54 seconds from the time you call some wait) while
positive means absolute time (in UTC of course).
Try to do something like this:
LARGE_INTEGER Delay;
Delay.QuadPart = -1; //0xFFFFFFFFFFFFFFFF
//your variant gets 0xFFFFFFFF00000000
Paul
-----P?vodn? zpr?va-----
Od: xxxxx@usa.net [SMTP:xxxxx@usa.net]
Odesl?no: 7. ?ervence 2000 3:00
Komu: NT Developers Interest List
P?edm?t: [ntdev] KeDelayExecutionThread
Hello,
Is there any way to specify 0 (zero) delay in KeDelayExecutionThread() ?
Also, I don’t understand how to use the “Interval” parameter to specify
“absolute” time. Could somebody please explain with an example ?
Currently, I’m doing the following in my code:
delay.LowPart = (ULONG)( - ( 10 * 1000 * 0 ));
delay.HighPart = -1;
And this seems to delay it for approx 54 seconds. Why is this so ?
Thanks
Puja
You are currently subscribed to ntdev as: xxxxx@sodatsw.cz
To unsubscribe send a blank email to $subst(‘Email.Unsub’)