16 Aug
2024
16 Aug
'24
5:13 p.m.
Elizabeth Figura (@zfigura) commented about include/ntuser.h:
return NtUserCallHwndParam( hwnd, (UINT_PTR)¶ms, NtUserCallHwndParam_SendHardwareInput ); }
+struct expose_window_surface_params +{ + UINT flags; + BOOL whole; + RECT rect; + UINT dpi; +}; + +static inline BOOL NtUserExposeWindowSurface( HWND hwnd, UINT flags, const RECT *rect, UINT dpi )
Is this actually going to be called from PE code? If not, wouldn't it be simpler to not marshal through NtUserCallHwndParam(), and just add a dedicated Unix-side export in win32u? Note there is precedent for that. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/6291#note_78997