diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-25 19:25:38 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-25 19:25:38 +0000 |
commit | 2cf824fd2efaec5fa0125fdde5fd513dd906d844 (patch) | |
tree | aadae8304f8cf90c06c73ca49180c62faeef539b /plugins/NotesAndReminders/src/main.cpp | |
parent | a01f62f394fc01e3c6ed89924be804d2438787e5 (diff) |
plugins cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@6233 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NotesAndReminders/src/main.cpp')
-rw-r--r-- | plugins/NotesAndReminders/src/main.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/NotesAndReminders/src/main.cpp b/plugins/NotesAndReminders/src/main.cpp index 3bb0919e47..e9776abf1e 100644 --- a/plugins/NotesAndReminders/src/main.cpp +++ b/plugins/NotesAndReminders/src/main.cpp @@ -9,9 +9,7 @@ HANDLE hkTopToolbarInit = NULL; HANDLE hkModulesLoaded = NULL;
HANDLE hkFontChange = NULL;
HANDLE hkColorChange = NULL;
-HMODULE hUserDll = NULL;
HMODULE hRichedDll = NULL;
-HMODULE hKernelDll = NULL;
extern TREEELEMENT *g_Stickies;
extern TREEELEMENT *RemindersList;
@@ -286,10 +284,6 @@ extern "C" __declspec(dllexport) int Unload(void) if (hRichedDll)
FreeLibrary(hRichedDll);
- if (hUserDll)
- FreeLibrary(hUserDll);
- if (hKernelDll)
- FreeLibrary(hKernelDll);
return 0;
}
@@ -317,26 +311,6 @@ extern "C" __declspec(dllexport) int Load(void) return 0;
}
- hUserDll = LoadLibrary(_T("user32.dll"));
- if (hUserDll) {
- MySetLayeredWindowAttributes = (BOOL (WINAPI *)(HWND,COLORREF,BYTE,DWORD))GetProcAddress(hUserDll,"SetLayeredWindowAttributes");
- MyMonitorFromWindow = (HANDLE (WINAPI*)(HWND,DWORD))GetProcAddress(hUserDll,"MonitorFromWindow");
- }
- else {
- MySetLayeredWindowAttributes = NULL;
- MyMonitorFromWindow = NULL;
- }
-
- hKernelDll = LoadLibrary(_T("kernel32.dll"));
- if (hKernelDll) {
- MyTzSpecificLocalTimeToSystemTime = (BOOL (WINAPI*)(LPTIME_ZONE_INFORMATION,LPSYSTEMTIME,LPSYSTEMTIME))GetProcAddress(hKernelDll,"TzSpecificLocalTimeToSystemTime");
- MySystemTimeToTzSpecificLocalTime = (BOOL (WINAPI*)(LPTIME_ZONE_INFORMATION,LPSYSTEMTIME,LPSYSTEMTIME))GetProcAddress(hKernelDll,"SystemTimeToTzSpecificLocalTime");
- }
- else {
- MyTzSpecificLocalTimeToSystemTime = NULL;
- MySystemTimeToTzSpecificLocalTime = NULL;
- }
-
InitServices();
WS_Init();
|