From 758f2c5c1f81cd566e65df9b851874525b5091fc Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> Date: Wed, 3 Jun 2009 07:14:47 +0000 Subject: Fixed compatibility with Vista and later git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@464 4f64403b-2f21-0410-a795-97e2b3489a10 --- worldtime/WorldTime.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'worldtime/WorldTime.cpp') diff --git a/worldtime/WorldTime.cpp b/worldtime/WorldTime.cpp index bb5b58d..7e46359 100644 --- a/worldtime/WorldTime.cpp +++ b/worldtime/WorldTime.cpp @@ -111,7 +111,7 @@ extern "C" WORLDTIME_API int Load(PLUGINLINK *link) if(build_timezone_list()) { - DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &mainThread, THREAD_SET_CONTEXT, FALSE, 0 ); + DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &mainThread, 0, FALSE, DUPLICATE_SAME_ACCESS ); CreatePluginServices(); HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); -- cgit v1.2.3