projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
75f1637
)
[WIN32K] Add a comment regarding UserEnterExclusive() in UserGetDesktopDC()
author
Timo Kreuzer
<timo.kreuzer@reactos.org>
Thu, 5 Oct 2017 16:40:33 +0000
(18:40 +0200)
committer
Timo Kreuzer
<timo.kreuzer@reactos.org>
Thu, 5 Oct 2017 16:40:33 +0000
(18:40 +0200)
This is a test-commit using GitHubs SVN interface.
win32ss/user/ntuser/desktop.c
patch
|
blob
|
history
diff --git
a/win32ss/user/ntuser/desktop.c
b/win32ss/user/ntuser/desktop.c
index
6ecf94b
..
4d7f76b
100644
(file)
--- a/
win32ss/user/ntuser/desktop.c
+++ b/
win32ss/user/ntuser/desktop.c
@@
-932,6
+932,7
@@
UserGetDesktopDC(ULONG DcType, BOOL EmptyDC, BOOL ValidatehWnd)
PWND DesktopObject = 0;
HDC DesktopHDC = 0;
+ /* This can be called from GDI/DX, so acquire the USER lock */
\r
UserEnterExclusive();
if (DcType == DC_TYPE_DIRECT)