Windows CE 的 kbhit 等价物是多少? [英] What is the kbhit equivalent for Windows CE?

查看:36
本文介绍了Windows CE 的 kbhit 等价物是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows CE 的 kbhit 等价物是多少?特别是,我想知道 Windows CE 6.0.我想更一般地说,有没有办法从标准输入中进行非阻塞读取?

What is the kbhit equivalent for Windows CE? In particular, I'm wondering about windows CE 6.0. I guess more generally, is there a way to do non-blocking reads from stdin?

推荐答案

如果您所做的只是寻找密钥,您可以使用 GetKeyStateGetAsyncKeySytate.

If all you're doing is looking for a key, you could poll using GetKeyState or GetAsyncKeySytate.

这篇关于Windows CE 的 kbhit 等价物是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆