diff options
Diffstat (limited to 'MySpace/MySpace.cpp')
-rw-r--r-- | MySpace/MySpace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MySpace/MySpace.cpp b/MySpace/MySpace.cpp index e1b26f9..6f7309c 100644 --- a/MySpace/MySpace.cpp +++ b/MySpace/MySpace.cpp @@ -115,7 +115,7 @@ void SetAllOffline() { HANDLE hModulesLoaded;
extern "C" __declspec (dllexport) int Load(PLUGINLINK *link) {
- DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &mainThread, THREAD_SET_CONTEXT, FALSE, 0 );
+ DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &mainThread, 0, FALSE, DUPLICATE_SAME_ACCESS );
pluginLink=link;
|