开发者

How to set system time in a Windows WDM driver?

开发者 https://www.devze.com 2022-12-31 16:02 出处:网络
We are developing a GPS time sychronization hardware device. And we want w开发者_运维百科rite a Windows WDM driver for the device. To avoid the user level latency, we\'d like set windows( XP/Vista/7)

We are developing a GPS time sychronization hardware device. And we want w开发者_运维百科rite a Windows WDM driver for the device. To avoid the user level latency, we'd like set windows( XP/Vista/7) system time in the kernel driver level. Does anyone know how to achive that?

Thanks Xu Jun


Did you try NtSetSystemTime? I think it's undocumented.

http://undocumented.ntinternals.net/

See also http://undocumented.ntinternals.net/UserMode/Undocumented%20Functions/Time/NtQuerySystemTime.html

Yyou should use the Zw-prefix functions in your driver.

0

精彩评论

暂无评论...
验证码 换一张
取 消