diff options
Diffstat (limited to 'plugins/IEHistory/src')
-rw-r--r-- | plugins/IEHistory/src/IEHistory.cpp | 4 | ||||
-rw-r--r-- | plugins/IEHistory/src/stdafx.h | 2 |
2 files changed, 3 insertions, 3 deletions
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; |