开发者

GetIdleTime() in Windows CE/WM does not work?

I am trying to get the device IdleTime by calling GetIdleTime()

[DllImport("coredll.dll")]
static extern int GetIdleTime();

but idle time keeps incrementing even when the device is not idle.

I call the function with a button click and everytime I click the button the time has incremented even when I do it repeatedly. Why does the time increase when it it not idle? Is there a be开发者_运维问答tter better approach to get the device idle time?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜