yanquijiang
驱动牛犊
驱动牛犊
  • 注册日期2002-07-17
  • 最后登录2005-04-10
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:888回复:2

two trivial question of two DDK function

楼主#
更多 发布于:2002-07-17 00:54
Hi all
    here r two DDK functions .
    RtlMoveMemory and KeDelayExecutionThread ,which is involved in my question.
    i want to know
    1st. what is the difference between RtlMoveMemory and RtlCopyMemory.
    2nd.  what is the difference between Absolute expiration times and  relative expiration times ( the last parameter passed to KeDelayExecutionThread is represented as relative expiration times , if it is a negtive LARGE_INTEGER.)

Any assistance is much appreciated and using chinese is preferable, thanks
wangxdong
驱动小牛
驱动小牛
  • 注册日期2002-07-08
  • 最后登录2003-01-10
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2002-07-17 08:47
不知查DDK文档能不能解决?
请多多指教!
tigerzd
驱动老牛
驱动老牛
  • 注册日期2001-08-25
  • 最后登录2004-12-13
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2002-07-17 08:51
区别有:
1、RtlCopyMemory runs faster than RtlMoveMemory;
2、RtlCopyMemory源指针和目的指针不能有重叠(源块和目的块不能有交叠的块),RtlMoveMemory却可以。

绝对时间(正)是距1601年到现在的100纳秒数,相对是从当前系统时间经过100纳秒记数。
犯强汉者,虽远必诛! [img]http://www.driverdevelop.com/forum/upload/tigerzd/2002-12-13_sf10.JPG[/img]
游客

返回顶部