Yes, I think we can make the switch in gwin32packageparser.c (et.al) to use the official types and naming conventions. In a matter of days I'm going to push a branch with all the required modifications. That branch should compile with MSVC and have all gwin32api-package.h custom declarations removed.
Thanks a bunch! Luca Bacci Il giorno lun 29 ago 2022 alle ore 16:23 Biswapriyo Nath < [email protected]> ha scritto: > I can try to add those interfaces in mingw-w64 and/or wine. But it > would be better if the code in glib was written that winrt way. > gwin32packageparser.c[1] was written in normal COM like interfaces. > But the data types are different in winrt headers. For example, sdl > has SDL_windows_gaming_input.c[2] file where those type of data types > were used. > > So, if the gwin32packageparser.c is converted to those data type it > would be easier to test new mingw-w64 headers. e.g. IStorageItem → > __x_ABI_CWindows_CStorage_CIStorageItem > > [1]: > https://gitlab.gnome.org/GNOME/glib/-/blob/main/gio/gwin32packageparser.c > [2]: > https://github.com/libsdl-org/SDL/blob/main/src/joystick/windows/SDL_windows_gaming_input.c > > > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
