March 9, 2026
2:10 p.m.
Jacek Caban (@jacek) commented about include/ntuser.h:
+{ + UINT offset; + UINT size; +}; + +static inline LONG_PTR NtUserGetPrivateData( HWND hwnd, UINT offset, UINT size ) +{ + struct get_private_data_params params = { .offset = offset, .size = size }; + return NtUserCallHwndParam( hwnd, (UINT_PTR)¶ms, NtUserCallHwndParam_GetPrivateData ); +} + +struct set_private_data_params +{ + UINT offset; + UINT size; + LONG_PTR value; In this form, it would also require a change in `wow64_NtUserCallHwndParam`. You could also use LONG64 here.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/10277#note_131622