WINDOWS 11 - problems connecting to WDM driver COM port

Iosif Daniel Kurazs 26 Reputation points

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:

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