Author: tfaber
Date: Sat Oct 10 17:46:57 2015
New Revision: 69492
URL:
http://svn.reactos.org/svn/reactos?rev=69492&view=rev
Log:
[WIN32K:NTUSER]
- Remove some unnecessary referencing in NtUserCallHwnd
Modified:
trunk/reactos/win32ss/user/ntuser/simplecall.c
Modified: trunk/reactos/win32ss/user/ntuser/simplecall.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/simple…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/simplecall.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/simplecall.c [iso-8859-1] Sat Oct 10 17:46:57 2015
@@ -601,20 +601,17 @@
{
PWND Window;
DWORD HelpId;
- USER_REFERENCE_ENTRY Ref;
-
- UserEnterExclusive();
+
+ UserEnterShared();
if (!(Window = UserGetWindowObject(hWnd)))
{
UserLeave();
return 0;
}
- UserRefObjectCo(Window, &Ref);
HelpId = (DWORD)(DWORD_PTR)UserGetProp(Window, gpsi->atomContextHelpIdProp);
- UserDerefObjectCo(Window);
UserLeave();
return HelpId;
}