From 0f8566dd046d34ea0ff6b747f7383ffb17f6761e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 14 Jun 2015 21:33:38 +0000 Subject: WindowList_* functions are not services anymore; unneeded helpers removed git-svn-id: http://svn.miranda-ng.org/main/trunk@14168 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/IEHistory/src/IEHistory.cpp | 4 ++-- plugins/IEHistory/src/stdafx.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/IEHistory/src') diff --git a/plugins/IEHistory/src/IEHistory.cpp b/plugins/IEHistory/src/IEHistory.cpp index 01da6e43e0..58201979cb 100644 --- a/plugins/IEHistory/src/IEHistory.cpp +++ b/plugins/IEHistory/src/IEHistory.cpp @@ -25,7 +25,7 @@ int hLangpack;//Miranda NG langpack used by translate functions, filled by mir_g char ModuleName[] = "IEHistory"; HICON hIcon; HINSTANCE hInstance; -HANDLE hOpenWindowsList = NULL; +MWindowList hOpenWindowsList = NULL; HMODULE hUxTheme = 0; BOOL(WINAPI *MyEnableThemeDialogTexture)(HANDLE, DWORD) = NULL; @@ -70,7 +70,7 @@ extern "C" int __declspec(dllexport) Load(void) /// all initialization here hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_HISTORYICON)); - hOpenWindowsList = (HANDLE)CallService(MS_UTILS_ALLOCWINDOWLIST, 0, 0); + hOpenWindowsList = WindowList_Create(); InitServices(); diff --git a/plugins/IEHistory/src/stdafx.h b/plugins/IEHistory/src/stdafx.h index daaa9d2916..ad8cfce450 100644 --- a/plugins/IEHistory/src/stdafx.h +++ b/plugins/IEHistory/src/stdafx.h @@ -79,7 +79,7 @@ extern HICON hIcon; //history icon extern int hLangpack; extern char ModuleName[]; extern HINSTANCE hInstance; //dll instance -extern HANDLE hOpenWindowsList; +extern MWindowList hOpenWindowsList; extern PLUGININFOEX pluginInfo; -- cgit v1.2.3