Handling simultaneous QUERY2 searches in a standalone Windhawk mod

SDK, Plug-ins, and third party software discussion.
gilnett
Posts: 1
Joined: Tue Dec 01, 2026 12:39 pm

Handling simultaneous QUERY2 searches in a standalone Windhawk mod

Post by gilnett »

Hi everyone,

I'm currently working on a Windhawk mod (everything-symbols) that replaces the native Windows File Explorer search with Everything results by hooking shell32.dll and querying Everything directly.
The project started from Alessandro Vecchio's project on GitHub (https://github.com/Alessandro-Vecchio/e ... h-explorer), and with his permission I've started rewriting it from scratch to meet Windhawk's requirements. One of our main goals is to keep the mod completely standalone, with zero external dependencies (just pure Win32/C++ talking to Everything).
Right now I'm on a test build that has been through a lot of trial and error so there's probably some leftover dead code in it

Single-tab searches work great: results, pagination, and Shell details all load as expected.The only thing that breaks is simultaneous searches: whenever I run searche in multiple Explorer tabs at the same time, they stall and stop responding.Currently, the mod uses WM_COPYDATA with EVERYTHING_IPC_COPYDATA_QUERY2W and a pool of 4 hidden reply HWNDs (each with a unique reply_hwnd and token), while holding a global mutex around SendMessageTimeoutW + waiting for the reply event (plus some background page preloading on large results).

In Everything 1.5.0, if a client sends multiple QUERY2 requests using different reply_hwnds and unique IDs, can Everything actually process them in parallel, or are IPC queries still handled one by one internally?Also, does Everything 1.5's named-pipe SDK handle concurrent queries differently, and is it practical to talk to it directly over named pipes without bundling extra DLLs so the mod stays standalone? Basically, I'd like to know the best way to keep multiple simultaneous searches responsive without one query blocking the others.

P.S. I've attached the full test file (everything-symbols.wh.cpp) for reference, though most of it is Explorer Shell hooking. Please note that the README section inside the file is currently out of date and AI-generated (based on Alessandro Vecchio's original README).
You do not have the required permissions to view the files attached to this post.