[WIN32K] Add a comment regarding UserEnterExclusive() in UserGetDesktopDC()

This is a test-commit using GitHubs SVN interface.
This commit is contained in:
Timo Kreuzer 2017-10-05 18:40:33 +02:00
parent 75f1637f37
commit 5c4d857407

View file

@ -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 */
UserEnterExclusive();
if (DcType == DC_TYPE_DIRECT)