This does break compatibility in a few subtle ways. For example, the native
headers do not require COBJMACROS, and they include objbase.h. It's not clear to
me that these differences matter, but if they do, we can add widl extensions to
account for them.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6032
The first two patches here address an issue I encountered when using Wine's d3dx9 with DXVK in the game Command and Conquer 3. The game calls `D3DXLoadSurfaceFromMemory` on a multisampled render target. This ends up going through the `lock_surface()` helper in d3dx9, which eventually calls `UpdateSurface()` in `unlock_surface()` to copy the staging surface back to the multisampled render target. This succeeds on wined3d even though it shouldn't, and fails on DXVK like it should.
The second two patches address an issue reported in Empires: Dawn of the Modern World, where the game expects a device reset to reset the scene state.
--
v3: wined3d: Clear scene state on device state reset.
d3d8/tests: Add a test for device reset after beginning a scene.
d3d9/tests: Add a test for device reset after beginning a scene.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6042
Wine doesn't handle Pooling as yet and in my scenario it's set to 0 (No Pooling), so not an issue but requires a successful return value.
SQLTransact incorrectly assumed that if either handle was NULL an error occurred. I'm seeing a call where the Environment handle is NULL, even unixODBC handles this scenario.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6098
--
v2: win32u: Use the thread input shared memory for GetKeyState.
server: Expose the thread input keystate lock through shared memory.
server: Make the get_key_state request key code mandatory.
win32u: Use the desktop shared memory in get_async_keyboard_state.
win32u: Use the thread input shared memory in GetKeyboardState.
win32u: Introduce a new NtUserGetAsyncKeyboardState call.
server: Expose the thread input keystate through shared memory.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6036