[PATCH 6/6] win32u: Move IsWindow implementation from user32.

Jacek Caban jacek at codeweavers.com
Fri Feb 25 09:25:30 CST 2022


Signed-off-by: Jacek Caban <jacek at 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(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-win32u-Move-IsWindow-implementation-from-user32.txt
Type: text/x-patch
Size: 5352 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20220225/91f4de81/attachment.bin>


More information about the wine-devel mailing list