Initial native C++ DUO-RDP release source and documentation

This commit is contained in:
SoGi committed 2026-10-21 13:38:44 +02:00
commit 65b2145791
42 files changed
+5506

No files matched your search

@@ -0,0 +1,12 @@
#include <windows.h>
HMODULE g_hModule = nullptr;
long g_cRef = 0;
BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID) {
if (ul_reason_for_call == DLL_PROCESS_ATTACH) {
g_hModule = hModule;
DisableThreadLibraryCalls(hModule);
}
return TRUE;
}