IntChangeDisplaySettings: set last error before leaving the function
authorGregor Schneider <grschneider@gmail.com>
Fri, 7 Aug 2009 12:10:59 +0000 (12:10 +0000)
committerGregor Schneider <grschneider@gmail.com>
Fri, 7 Aug 2009 12:10:59 +0000 (12:10 +0000)
commit5122d6becfe3f1cfa87409c02949b275c6ce5559
treee939e11476d66f9dabf3672fba50aec9e8b2976d
parent0d1437611300e6af7a2a3bc4bb0ddd481a44afeb
IntChangeDisplaySettings: set last error before leaving the function
NtUserChangeDisplaySettings: copy devmode only if passed, use SEH with buffer probing over CopyFromCaller

svn path=/trunk/; revision=42464
reactos/subsystems/win32/win32k/ntuser/display.c
reactos/subsystems/win32/win32k/objects/device.c