question

r-kawaida avatar image
0 Votes"
r-kawaida asked DoronHolan answered

How to use WdfIoQueueCreate

I am create driver (KMDF) read a serial port in a loop, while a device is connected to port COM.
So I googled and found about use WdfIoQueueCreate.

https://docs.microsoft.com/en-us/windows-hardware/drivers/wdf/framework-queue-objects

There are many examples but they are not so understandable. Do you know any simple example?

windows-hardwarewindows-hardware-wdk
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

DoronHolan avatar image
0 Votes"
DoronHolan answered

Every WDF based WDK sample shows how to create and use a WDFQUEUE. There are also extensive docs. What is not clear?

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.