mirror of
https://github.com/WinDurango-project/WinDurango.git
synced 2024-11-23 19:29:40 +00:00
22 lines
410 B
C++
22 lines
410 B
C++
// ReSharper disable CppInconsistentNaming
|
|
// ReSharper disable CppParameterMayBeConst
|
|
#include "pch.h"
|
|
|
|
#include <cstdlib>
|
|
|
|
BOOL WINAPI DllMain(HINSTANCE hInstance, DWORD forwardReason, LPVOID lpvReserved)
|
|
{
|
|
constexpr BOOL result = TRUE;
|
|
|
|
switch (forwardReason)
|
|
{
|
|
case DLL_PROCESS_ATTACH:
|
|
case DLL_THREAD_ATTACH:
|
|
case DLL_THREAD_DETACH:
|
|
case DLL_PROCESS_DETACH:
|
|
default:
|
|
break;
|
|
}
|
|
|
|
return result;
|
|
} |