aboutsummaryrefslogtreecommitdiff
path: root/TestDLL/dllmain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TestDLL/dllmain.cpp')
-rw-r--r--TestDLL/dllmain.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/TestDLL/dllmain.cpp b/TestDLL/dllmain.cpp
index 3cbf490..a4dbaed 100644
--- a/TestDLL/dllmain.cpp
+++ b/TestDLL/dllmain.cpp
@@ -12,4 +12,13 @@ void APIENTRY LibEntry(void)
"TestDLL Notification",
MB_OK | MB_ICONINFORMATION) == IDOK ? TRUE : FALSE;
}
+}
+
+extern "C" __declspec(dllexport)
+DWORD WINAPI LibEntryThreaded(_In_ LPVOID lpParameter)
+{
+ LibEntry();
+
+ ExitThread(0);
+ return 0;
} \ No newline at end of file