Signed-off-by: Jacek Caban jacek@codeweavers.com --- I considered using GetWindowThreadProcessId() for IsWindow instead, but that wouldn't do the right thing for things like desktops created directly by server.
If we had shared handle table, both this patch and the previous one could be implemented on PE side (without syscall nor server call), but even then we'd need something exposed to drivers.
dlls/user32/win.c | 21 +------------------ dlls/win32u/gdiobj.c | 1 + dlls/win32u/win32u.spec | 2 +- dlls/win32u/win32u_private.h | 1 + dlls/win32u/window.c | 40 ++++++++++++++++++++++++++++++++++++ dlls/win32u/wrappers.c | 6 ++++++ include/ntuser.h | 7 +++++++ 7 files changed, 57 insertions(+), 21 deletions(-)