> Also, what version of Windows are you seeing vend this class from shell32? My Windows 10 vends it from windows.storage.dll.
FWIW, I do see this vended from shell32 in Windows 7. It's probably better to match more recent Windows here, though I'm not sure if it's worth caring.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6130#note_78695
3/3 still needs to be fixed up to 1/3 where the class is introduced, including the actxprxy parts.
There's also a whitespace error introduced in 2/3.
Also, I'm just now noticing...
> ```
> +HRESULT __RPC_STUB IEnumObjects_Next_Stub(IEnumObjects *This, ULONG celt, REFIID riid, void **rgelt, ULONG *pceltFetched)
> +{
> + HRESULT hr;
> + TRACE("(%p)->(%ld, %p, %p, %p)\n", This, celt, debugstr_guid(riid), rgelt, pceltFetched);
> + *pceltFetched = 0;
> + hr = IEnumObjects_Next(This, celt, riid, rgelt, pceltFetched);
> + if (hr == S_OK) *pceltFetched = celt;
> + return hr;
> +}
> ```
The "*pceltFetched = celt" line looks very wrong, and I don't think that line should be necessary at all. It was copied from IEnumShellItems, but that also looks wrong.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6130#note_78694
--
v2: win32u: Keep a window_rects struct in the WND structure.
win32u: Pass a window_rects struct to calc_ncsize helper.
win32u: Pass a window_rects struct from get_window_rects helper.
win32u: Introduce new get_(client|window)_rect_rel helpers.
win32u: Pass a window_rects struct to MoveWindowBits driver entry.
win32u: Pass a window_rects struct to WindowPosChanging driver entry.
win32u: Pass a window_rects struct to WindowPosChanged driver entry.
win32u: Pass window_rects structs to create_window_surface.
win32u: Use window_rects structs in apply_window_pos.
win32u: Split driver side window bits move to a separate entry.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6273
Host CPPFLAGS may contain architecture or target specific flags that
don't apply to a PE cross compiler, to pass CPPFLAGS in such a case
CROSSCPPFLAGS can now be used.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/6244