On Sun Jun 22 10:03:43 2025 +0000, Loïc Rebmeister wrote:
The class is defined here: https://gitlab.winehq.org/wine/wine/-/blob/master/include/windows.storage.id... But is never imported into `windows.storage.dll` but is imported into `windows.storage.applicationdata.dll` (Check for `windows.storage.idl` in `Makefile.in` and `classes.idl`) - https://gitlab.winehq.org/wine/wine/-/tree/master/dlls/windows.storage?ref_t... - https://gitlab.winehq.org/wine/wine/-/tree/master/dlls/windows.storage.appli... `Windows.Storage.StorageFile` should be in `windows.storage.applicationdata.dll` and not `windows.storage.dll` according to wine source code. So `windows.storage: Add stubs for StorageFile class.` should be `windows.storage.applicationdata: Add stubs for StorageFile class.` instead. I don't currently have a Windows VM setup to check in which dll the class is actually located on Windows, but if you want to check, the registry key to check with regedit is: - `HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsRuntime\ActivatableClassId\Windows.Storage.StorageFile` I checked that registry key and it turns out the `Windows.Storage.StorageFile` class should be in `windows.storage.dll` after all.
Maybe I should split `Windows.Storage.ApplicationData` definitions out of `windows.storage.idl` to `windows.storage.applicationdata.idl`, and import that instead of whole `windows.storage.idl` into `windows.storage.applicationdata.dll`? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8394#note_107546