阅读:3385回复:2
KeDelayExecutionThread延时怎么不准阿?
LARGE_INTEGER DelayTime;
DelayTime = RtlConvertLongToLargeInteger(-2000*10);//这里做了个2s的延时 KeDelayExecutionThread( KernelMode, FALSE, &DelayTime ); 我的这段代码放在线程中,我用softice设置断点,观察间隔时间怎么只有20ms,各位老大指点一下,我哪里出错了 |
|
最新喜欢:wingma... |
沙发#
发布于:2007-06-01 19:23
谢谢rhettxie
下次一定注意,认真仔细的看文档 |
|
板凳#
发布于:2007-05-31 11:25
再 *1000 , 数量级搞错了你, 看文档吧
“Specifies the absolute or relative time, in units of 100 nanoseconds” |
|
|