When developing with WDF, how can you send manually created requests to the down-level devices of the current device like WDM?

Jump Zhang 40 Reputation points
2023-08-17T08:12:27.7033333+00:00

The current is like this, I implemented an upper-layer filtering driver, I want to create a Write request in the driver and send the request to the next layer of the current device, I refer to the "toaster" example, create WDFIOTARGET, and successfully open, although the request is also sent successfully, but I found that it is actually sent to the driver first, and then to the next layer of the device, that is, not directly to the device I expect, I also tried to use WdfDeviceGetIoTarget to get the target, but the target does not have a file object, so I can't find the relevant information now, I don't know how to proceed to the next step, I hope to get an answer.

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,684 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.