GetLastInputInfo() always 0 (zero)

后端 未结 1 564
失恋的感觉
失恋的感觉 2021-01-21 01:02

I want to detect the idle time (eg. How long ago the user pressed a key or moved the mouse). Supposedly the GetLastInputInfo() should be what I need but, when I use it, it alway

相关标签:
1条回答
  • 2021-01-21 01:28

    Solved! Forgot about initializing cbSize ...

    0 讨论(0)
提交回复
热议问题