This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

33
sytrus/sytrus.cpp Normal file
View File

@@ -0,0 +1,33 @@
#include <common/windows.hpp>
extern "C"
{
BOOL _stdcall DllMain(HINSTANCE /*hInstance*/,DWORD reasonCode,LPVOID /*lpvReserved*/);
}
void messageBox(char *message,char *title);
__declspec(dllexport) void CreatePlugInstance(void);
BOOL _stdcall DllMain(HINSTANCE /*hInstance*/,DWORD reasonCode,LPVOID /*lpvReserved*/)
{
switch(reasonCode)
{
case DLL_PROCESS_ATTACH :
messageBox("process attach","sytrus");
break;
case DLL_PROCESS_DETACH :
messageBox("process detach","sytrus");
break;
}
return TRUE;
}
void CreatePlugInstance(void)
{
messageBox("Create Plug Instance","sytrus");
}
void messageBox(char *message,char *title)
{
::MessageBox(::GetFocus(),message,title,MB_OK);
}