wintab32 is currently broken in the new wow64 mode because the `tablet_get_packet` thunk in winex11.drv is not implemented. Since the structure it is copying is entirely internal to Wine, and the HCTX handle value is not actually read or written by the driver side, I found that simply padding the structure to keep the rest of it aligned was enough to make wow64 happy and allow wintab32 to function.
This is somewhat a stopgap. What would be much better is to refactor the wintab code such that more of the logic is in the wintab32 implementation and not the driver. My goal is to accomplish this as part of trying to get my winewayland graphics tablet patch into an acceptable state for upstreaming. However, I think this is still a worthwhile improvement to have in the interim, if it is acceptable.
--
v4: winex11: Remove stub tablet_get_packet wow64 thunk
wintab32: Align WTPACKET for 32/64-bit archs
https://gitlab.winehq.org/wine/wine/-/merge_requests/6584
This MR adds a unixlib component to wlanapi containing DBus + NetworkManager implementations for
* WlanEnumInterfaces
* WlanGetAvailableNetworkList
* WlanGetNetworkBssList
* WlanScan
* WlanSetProfile
* WlanConnect
* WlanGetProfileList
* WlanDisconnect
--
v13: wlanapi: Add NetworkManager backed implementation for WlanDisconnect.
wlanapi/tests: Add unit tests for WlanDisconnect.
wlanapi: Add NetworkManager backed implementation for WlanSetProfile.
wlanapi/tests: Add tests for WlanSetProfile.
wlanapi: Add stub for WlanSetProfile.
wlanapi: Add stub for WlanDisconnect.
wlanapi: Add an initial NetworkManager backed implementation for WlanConnect.
wlanapi/tests: Add unit tests for WlanConnect.
wlanapi: Add stub for WlanConnect.
wlanapi: Add NetworkManager backed implementation for WlanGetProfileList.
wlanapi/tests: Add unit tests for WlanGetProfileList.
wlanapi: Add stub for WlanGetProfileList.
wlanapi: Add NetworkManager backed implementation for WlanScan.
wlanapi/tests: Add unit tests for WlanScan.
wlanapi: Add NetworkManager backed implementation for WlanGetNetworkBssList.
wlanapi/tests: Add unit test for test_WlanGetNetworkBssList.
wlanapi: Add stub for WlanGetNetworkBssList.
wlanapi: Add NetworkManager backed implementation for WlanGetAvailableNetworkList.
wlanapi/tests: Add unit test for WlanGetAvailableNetworkList.
wlanapi: Add NetworkManager backed implementation for WlanEnumInterfaces.
wlanapi: Add a basic unixlib implementation.
This merge request has too many patches to be relayed via email.
Please visit the URL below to see the contents of the merge request.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6505
The tests are added at the end to avoid restructuring older tests.
--
v2: urlmon/tests: Test flags for getting properties.
urlmon: Support Uri_DISPLAY_IDN_HOST.
urlmon: Support Uri_PUNYCODE_IDN_HOST.
urlmon: Support Uri_DISPLAY_NO_FRAGMENT.
urlmon: Support Uri_HOST_IDN.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6796
I've tried implementing this before but importing user32 from ntdll isn't a reliable
thing (so I recently rewrote it using the ntdll equivalents of LoadLibrary() and GetProcAddress())
Note: This is a weird way to implement this function (Windows implements this
in ntdll instead) but that would probably require a user32/ntdll rewrite (so this
is the next best tning to get the application working)
--
v4: ntdll: Implement NtdllDefWindowProc_A().
https://gitlab.winehq.org/wine/wine/-/merge_requests/5236