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.