Initial native C++ DUO-RDP release source and documentation
This commit is contained in:
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;
|
||||
}
|
||||
Reference in new issue
Block a user