Add autonomous webhooks and dynamic WebView discovery
This commit is contained in:
1 parent
ab69f287b6
commit
97f874d183
29 files changed
+3044
-1489
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <windows.h>
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include "core_discovery.h"
|
||||
int wmain(int argc,wchar_t** argv) {
|
||||
if(argc!=2)return 2;
|
||||
HMODULE h=LoadLibraryExW(argv[1],nullptr,DONT_RESOLVE_DLL_REFERENCES);
|
||||
if(!h)return 3;
|
||||
CoreLayout l{};bool ok=discoverCoreLayout((uintptr_t)h,l);
|
||||
if(ok)printf("primary=%llx secondary=%llx query=%llx\n",
|
||||
l.primary-(uintptr_t)h,l.secondary-(uintptr_t)h,l.query-(uintptr_t)h);
|
||||
FreeLibrary(h);return ok?0:4;
|
||||
}
|
||||
Reference in new issue
Block a user