Avscan Windows Minifilter Driver Can't run with 32-bit application

Hi everyone,
I built avscan minifilter driver

avscan/user/avscan.vcxproj : 32-bit
avscan/filter/avscan.vcxproj : 64-bit

User app can’t connect to driver.
Can anyone help me how to support 32-bit application in 64-Bit Driver???

My OS: Windows 10, 64-bit

The error is “Failed to send message SendMessageToCreateSection to the minifilter” in userscan.c

hr = FilterSendMessage( Context->ConnectionPort,
                            &commandMessage,
                            sizeof( COMMAND_MESSAGE ),
                            &sectionHandle,
                            sizeof( HANDLE ),
                            &bytesReturned );

    if (FAILED(hr)) {

        fprintf(stderr,
          "[UserScanHandleStartScanMsg]: Failed to send message SendMessageToCreateSection to the minifilter.\n");
        DisplayError(hr);
        return hr;
    }

Wrong forum… moving to NTFSD.

Peter

You’re telling us that FilterConnectCommunicationPort works… but FltSendMessage using that Communications Port does not?

What error do you get back from FltSendMessage (that’s why there’s an error return, by the way, and not a boolean… it’s there to give you a hint as to why the call failed).

Peter

Why would you do this? Just use a 64-bit app on 64-bit.