UMDF comport驱动程序问题 [英] UMDF comport driver problem

查看:104
本文介绍了UMDF comport驱动程序问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的虚拟串行端口驱动程序有问题.当应用程序使用ReadFile和WriteFile Win32 API函数时,一切正常,但是当使用Visual Basic编写的某些程序尝试与虚拟com端口通信时,从comport读取数据时会出现问题.问题是,当WAIT_ON_MASK设备I/O控制代码到达时,我不知道如何反应,我不得不挂起请求,直到读取数据到达.
知道如何解决UMDF驱动程序问题吗?
我不知道如何等待一段时间,然后过一段时间再返回此请求蚂蚁来完成它.

Hi,
I have a problem with my virtual serial port driver. When application uses ReadFile and WriteFile Win32 API functions everything is OK, but when some program, written in Visual Basic try to communicate with virtual com port, there is problem when reading data from comport. The problem is, that I don''t know how to react when WAIT_ON_MASK device I/O control code arrives, and I have to peng request until read data arrives.
Any idea how to resolve problem with UMDF driver?
I don''t know how to pend request for some time , and after some time to return to this request ant to complete it.

推荐答案

您好,

你有没有解决你的问题?我也遇到同样的问题!

/Jan
Hi,

Did you ever solve your issue? I am stuck with the same problem!

/Jan


这篇关于UMDF comport驱动程序问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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