[CONSRV]: Use NtDuplicateObject with DUPLICATE_CLOSE_SOURCE to close a duplicated...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 14 Nov 2015 16:20:00 +0000 (16:20 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Sat, 14 Nov 2015 16:20:00 +0000 (16:20 +0000)
commit9bccd936558eb1374d5a2b718614954f32973fc3
tree3db95461def2e4ff18fef6ec4d14156109f8c082
parent9086f2a059cf9cfd82808a679fb5c3cd19b4a050
[CONSRV]: Use NtDuplicateObject with DUPLICATE_CLOSE_SOURCE to close a duplicated handle in a target process (instead of erroneously call NtClose on it). Should fix CORE-10510 and CORE-9742. Thanks to Thomas Faber for having pointed me to the source of the problem.

svn path=/trunk/; revision=69889
reactos/win32ss/user/winsrv/consrv/condrv/graphics.c
reactos/win32ss/user/winsrv/consrv/handle.c