GetModuleHandleW and GetModuleHandleExW (pinning it) give back the handle
LoadLibraryW returned for a path, a path to another folder finds nothing,
and the bare name still finds it.
Assisted-by: Claude Code:claude-opus-5-5
AI-Scope: the test client and its registration
(cherry picked from commit 15b7e4ccc462826ffff57c1e19bb04d35fa57296)