WINDOWS 11 - problems connecting to WDM driver COM port

Iosif Daniel Kurazs 26 Reputation points
2022-11-24T10:42:49.05+00:00

I have a minifilter WDM driver that works on Windows 7 and Windows 10 .
But when i try to connect to it from the user mode application via the function call: FilterConnectCommunicationPort
I get the following error:
err. code: 800705aa
err. message: "Insufficient system resources exist to complete the requested service."

I have seen via the debugger that the driver actually manages to create/open the port.
The name of the port used in the driver and in the application match.

I need some clues to find which direction to debug this.
I checked the code and it is almost identical to the example:
https://github.com/microsoft/Windows-driver-samples/tree/main/filesys/miniFilter/minispy

from what i see by reviewing the code, it should work.
What am i missing ?

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,642 questions
0 comments No comments
{count} vote

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.