mirror of
https://github.com/mirkobrombin/raven.git
synced 2026-11-01 21:45:06 +00:00
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)
8 lines
209 B
C
8 lines
209 B
C
#include <windows.h>
|
|
|
|
// A library with nothing in it but its entry point, for module_handle_path_client.c.
|
|
BOOL WINAPI raven_library_entry(HINSTANCE instance, DWORD reason, LPVOID reserved)
|
|
{
|
|
return TRUE;
|
|
}
|