From 4882bc420186a4aef19be699e3f621dec932417d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 2 Dec 2016 23:55:15 +0300 Subject: MS_SYSTEM_* services became functions --- plugins/ShellExt/src/shlcom.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/ShellExt/src') diff --git a/plugins/ShellExt/src/shlcom.cpp b/plugins/ShellExt/src/shlcom.cpp index 1cd20ad1ba..6aaa1dde2f 100644 --- a/plugins/ShellExt/src/shlcom.cpp +++ b/plugins/ShellExt/src/shlcom.cpp @@ -74,7 +74,7 @@ BOOL AddToList(TAddArgList& args) DWORD attr = GetFileAttributesA(args.szFile); if (attr != 0xFFFFFFFF && (attr & FILE_ATTRIBUTE_HIDDEN) == 0) { if ((args.count % 10) == 5) - if (CallService(MS_SYSTEM_TERMINATED, 0, 0) != 0) + if (Miranda_IsTerminated() != 0) return true; if (attr & FILE_ATTRIBUTE_DIRECTORY) { @@ -490,7 +490,7 @@ void __cdecl ThreadServer(HANDLE hMainThread) if (retVal == WAIT_OBJECT_0) QueueUserAPC(ipcService, hMainThread, 0); - if (CallService(MS_SYSTEM_TERMINATED, 0, 0) == 1) + if (Miranda_IsTerminated() == 1) break; } CloseHandle(hEvent); -- cgit v1.2.3