aboutsummaryrefslogtreecommitdiff
path: root/TestDLL/dllmain.cpp
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2019-09-22 16:30:46 +0200
committerToni Uhlig <matzeton@googlemail.com>2019-09-22 16:30:46 +0200
commita42eeb09c03b3c25bbeabacb48740f77a04330a4 (patch)
treea3ccd74643b0136d44e5039f45d57cd795bf5759 /TestDLL/dllmain.cpp
parent022e0eda435a392fffb1a10c9b907253aa78fef9 (diff)
export LibEntryThreaded in TestDLL
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