From 162e60d66c78bd51aa44c691fe4f4e2f1deb990f Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Sat, 19 May 2012 14:24:27 +0000 Subject: added Quotes git-svn-id: http://svn.miranda-ng.org/main/trunk@76 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Quotes/dllmain.cpp | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 plugins/Quotes/dllmain.cpp (limited to 'plugins/Quotes/dllmain.cpp') diff --git a/plugins/Quotes/dllmain.cpp b/plugins/Quotes/dllmain.cpp new file mode 100644 index 0000000000..9a1be15de5 --- /dev/null +++ b/plugins/Quotes/dllmain.cpp @@ -0,0 +1,23 @@ +// dllmain.cpp : Defines the entry point for the DLL application. +#include "stdafx.h" +#include "ModuleInfo.h" + +BOOL APIENTRY DllMain( HMODULE hModule, + DWORD ul_reason_for_call, + LPVOID lpReserved + ) +{ + switch (ul_reason_for_call) + { + case DLL_PROCESS_ATTACH: + CModuleInfo::SetModuleHandle(hModule); + break; + case DLL_THREAD_ATTACH: + case DLL_THREAD_DETACH: + case DLL_PROCESS_DETACH: + break; + } + + return TRUE; +} + -- cgit v1.2.3