This reverts commit 845832263ba6b9e135b23e9a29c9d109cb2ee9c4. The commit broke cross-mingw CI: https://ci.gstreamer.net/job/GStreamer-master/8659/console It seems that cross-mingw on Autotools and native-mingw on Meson disagree about the size of HRESULT. Revert for now till I can investigate the Meson side of things some more.