[WIN32K]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 21 Aug 2010 19:55:09 +0000 (19:55 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 21 Aug 2010 19:55:09 +0000 (19:55 +0000)
commit80cc3a0e8883180b83507250425b8b3896500710
treea48e41c48487d7c2d4e4cd92a16de7c7efca8d64
parent02cb45ab9c7aaf4feece55190430b9c9d6a6aed0
[WIN32K]
- Allocate the DCs prgnVis in DC_AllocDC, instead of "on demand" in GdiSelectVisRgn and properly handle failure case. This fixes a possible crash, when running out of gdi handles.

svn path=/trunk/; revision=48579
reactos/subsystems/win32/win32k/objects/cliprgn.c
reactos/subsystems/win32/win32k/objects/dclife.c