mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 04:07:16 +00:00
[WIN32K:NTUSER] NtUserCloseDesktop(): Use ObCloseHandle instead.
This commit is contained in:
parent
c697f191cf
commit
f3699c3838
1 changed files with 1 additions and 1 deletions
|
@ -2656,7 +2656,7 @@ NtUserCloseDesktop(HDESK hDesktop)
|
|||
|
||||
ObDereferenceObject(pdesk);
|
||||
|
||||
Status = ZwClose(hDesktop);
|
||||
Status = ObCloseHandle(hDesktop, UserMode);
|
||||
if (!NT_SUCCESS(Status))
|
||||
{
|
||||
ERR("Failed to close desktop handle 0x%p\n", hDesktop);
|
||||
|
|
Loading…
Reference in a new issue