diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-21 17:37:33 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-09-21 17:37:33 +0000 |
commit | fdbc3639a50f40879f390f17ce7aafd5a579a7ab (patch) | |
tree | f2dc612f9d188cfb955b4393e207e5363bcd4e4e /src/core/stdidle/main.cpp | |
parent | 96325150479b8c93a5e48ac2591f3c7da5f0f9d4 (diff) |
Core cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@6165 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdidle/main.cpp')
-rw-r--r-- | src/core/stdidle/main.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/core/stdidle/main.cpp b/src/core/stdidle/main.cpp index 50a9b58e6f..36dd64b1ad 100644 --- a/src/core/stdidle/main.cpp +++ b/src/core/stdidle/main.cpp @@ -29,11 +29,6 @@ TIME_API tmi; HINSTANCE hInst;
int hLangpack;
-pfnMyMonitorFromWindow MyMonitorFromWindow;
-pfnMyGetMonitorInfo MyGetMonitorInfo;
-pfnOpenInputDesktop openInputDesktop;
-pfnCloseDesktop closeDesktop;
-
PLUGININFOEX pluginInfo = {
sizeof(PLUGININFOEX),
__PLUGIN_NAME,
@@ -65,13 +60,6 @@ extern "C" int __declspec(dllexport) Load(void) {
mir_getLP(&pluginInfo);
mir_getTMI(&tmi);
-
- HINSTANCE hUser32 = GetModuleHandleA("user32");
- openInputDesktop = (pfnOpenInputDesktop)GetProcAddress (hUser32, "OpenInputDesktop");
- closeDesktop = (pfnCloseDesktop)GetProcAddress (hUser32, "CloseDesktop");
-
- MyMonitorFromWindow = (pfnMyMonitorFromWindow)GetProcAddress(hUser32, "MonitorFromWindow");
- MyGetMonitorInfo = (pfnMyGetMonitorInfo)GetProcAddress(hUser32, "GetMonitorInfoW");
mir_getCLI();
LoadIdleModule();
|