Bump to 1.11

This commit is contained in:
Vichingo455
2025-03-23 12:49:51 +01:00
parent 7ca9105b8d
commit 23ac8a27f0
65 changed files with 2470 additions and 3597 deletions

View File

@@ -1,10 +1,22 @@
#include <windows.h>
#include <nsis/pluginapi.h>
#include "Startup.h"
HMODULE g_hInstance;
HINSTANCE g_hInstance;
HWND g_hwndParent;
EXTERN_C BOOL WINAPI DllMain(HMODULE hInstance, UINT iReason, LPVOID lpReserved) {
g_hInstance = hInstance;
EXTERN_C __declspec(dllexport)
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved) {
switch (dwReason) {
case DLL_PROCESS_ATTACH:
g_hInstance = hInstance;
Startup();
break;
case DLL_PROCESS_DETACH:
g_hInstance = NULL;
break;
}
return TRUE;
}