版块
论坛
喜欢
话题
应用
搜索
登录
注册
liz666的个人空间
访问量
0
新鲜事
帖子
资料
http://bbs3.driverdevelop.com/index.php?m=space&uid=58234
大放血呀,得到可用的系统时间!
我有一个pci设备,想在计算机启动的时候把系统时间传递给它。 我调用keQuerySystemTime();得到一个64位的数字,这两天我一直在对他进行运算结果不对呀!后来我通过time得到一个从1970年开始的以秒为单位的数,但是还是不对呀!两个数差了很多。我在同一天取得的Sy...
全文
回复
(
12
)
2003-12-17 17:37
来自版块 -
非USB硬件驱动开发
◆
◆
表情
告诉我的粉丝
提 交
liz666
:
[quote]我不知道在驱动里如何更改和读取注册表项? RtlQueryRegistryValues RtlWriteRegistryValue ... 查一下DDK吧 [/quote] 谢谢,已经搞定!但是不知道为什么没法再给你加分了?
(2003-12-22 13:20)
回复
seaquester
:
我不知道在驱动里如何更改和读取注册表项? RtlQueryRegistryValues RtlWriteRegistryValue ... 查一下DDK吧
(2003-12-19 17:31)
回复
liz666
:
我不知道在驱动里如何更改和读取注册表项?
(2003-12-19 13:54)
回复
seaquester
:
我的帖子怎么丢了一个? 这就是为什么我多给hong两分的原因,但是我不清楚第二步是如何实现的,在注册标的什么位置? 如果是在 Win9x 下,不能调用 ExSystemTimeToLocalTime(),可以这样作: 查询注册表键 (REG_DWORD) ...
(2003-12-19 12:19)
回复
liz666
:
我的帖子怎么丢了一个? 这就是为什么我多给hong两分的原因,但是我不清楚第二步是如何实现的,在注册标的什么位置?
(2003-12-19 11:26)
回复
arthurtu
:
hong的帖子
(2003-12-19 08:35)
回复
liz666
:
longboot也给我发了一个,在2000下可以这么写 { ... LARGE_INTEGER Now,NowLocal; TIME_FIELDS time; KeQuerySystemTime(&Now); ExSystemTimeToLocalTi...
(2003-12-19 08:23)
回复
liz666
:
98下无法使用 exSystemtimetoLocalTime,这个函数包含在ntddk.h
(2003-12-18 21:56)
回复
seaquester
:
you need following steps: 1. keQuerySystemTime(&newTime); 2. get current active time bias from registry, that say biasTime; 3. realTi...
(2003-12-18 17:34)
回复
arthurtu
:
why not use ExSystemTimeToLocalTime?
(2003-12-18 09:42)
回复
1
2
下一页 »
liz666
加关注
写私信
0
关注
0
粉丝
262
帖子
返回顶部