mirror of
https://github.com/EQEmu/Server.git
synced 2026-09-03 01:06:36 +00:00
svn -> git Migration
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
/*
|
||||
EMuShareMem.dll
|
||||
by Quagmire
|
||||
Released under GPL
|
||||
|
||||
This DLL's purpose it to hold a single shared copy of items, npctypes, spells, and other
|
||||
stuff that's normally cached in memory, thus allowing all processes on the server to share
|
||||
one copy of the data, greatly reducing the amount of RAM used.
|
||||
*/
|
||||
#ifdef _WINDOWS
|
||||
|
||||
#include <windows.h>
|
||||
void CloseMemShare();
|
||||
|
||||
BOOL WINAPI DllMain(
|
||||
HINSTANCE hinstDLL, // handle to DLL module
|
||||
DWORD fdwReason, // reason for calling function
|
||||
LPVOID lpReserved ) // reserved
|
||||
{
|
||||
// Perform actions based on the reason for calling.
|
||||
switch( fdwReason )
|
||||
{
|
||||
case DLL_PROCESS_ATTACH:
|
||||
case DLL_THREAD_ATTACH: {
|
||||
break;
|
||||
}
|
||||
case DLL_THREAD_DETACH: {
|
||||
break;
|
||||
}
|
||||
case DLL_PROCESS_DETACH: {
|
||||
break;
|
||||
}
|
||||
}
|
||||
return TRUE; // Successful DLL_PROCESS_ATTACH.
|
||||
}
|
||||
|
||||
#endif //WIN32
|
||||
Reference in New Issue
Block a user