In user mode you do this to get a handle to the mini filter port:
HANDLE hPort = NULL;
HRESULT hr = FilterConnectCommunicationPort(MY_PORT_NAME, 0, NULL, 0, NULL, &hPort);
Is it safe to use that hPort from multiple threads, i.e with calls to FilterSendMessage using the same hPort? I’ve been trying to find an answer to this but haven’t found anything explicitly answering the question.
Thanks