diff options
author | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-06-03 07:14:47 +0000 |
---|---|---|
committer | (no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10> | 2009-06-03 07:14:47 +0000 |
commit | 758f2c5c1f81cd566e65df9b851874525b5091fc (patch) | |
tree | 4b4d51b61e73e186e836766fc4e44b3e1ec49343 /meta2/meta2.cpp | |
parent | ffadc5b45ff4d5de51a46d885a4c0a762a17cfd8 (diff) |
Fixed compatibility with Vista and later
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@464 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'meta2/meta2.cpp')
-rw-r--r-- | meta2/meta2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta2/meta2.cpp b/meta2/meta2.cpp index 5f48f27..72dd822 100644 --- a/meta2/meta2.cpp +++ b/meta2/meta2.cpp @@ -94,7 +94,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) { HANDLE hModulesLoaded;
extern "C" __declspec (dllexport) int Load(PLUGINLINK *link) {
pluginLink=link;
- DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &metaMainThread, THREAD_SET_CONTEXT, FALSE, 0 );
+ DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &metaMainThread, 0, FALSE, DUPLICATE_SAME_ACCESS );
mir_getMMI(&mmi);
mir_getUTFI(&utfi);
|