Set the ownership before locking the bitmap in EngCreateDeviceSurface, because GDIOBJ...
authorHartmut Birr <osexpert@googlemail.com>
Sat, 3 Sep 2005 17:40:33 +0000 (17:40 +0000)
committerHartmut Birr <osexpert@googlemail.com>
Sat, 3 Sep 2005 17:40:33 +0000 (17:40 +0000)
commit2cea7b7c463172041ac8a1e7b8d466a8b5d0e667
treec90031f21bcb5ae58a130e761bf288bf20fddc06
parentacb0c260366e2a235ee6623be32fd50bcc7f1702
Set the ownership before locking the bitmap in EngCreateDeviceSurface, because GDIOBJ_SetOwnership runs in a dead lock if the object is already locked by the same process.
This may fix bug 747.

svn path=/trunk/; revision=17621
reactos/subsys/win32k/eng/surface.c