Closed Boddlnagg closed 5 years ago
I just stumbled upon this comment by retep998 where it says that "returning HRESULT [...] is the same for both methods and functions". So as long as WinRT methods always return HRESULT
(which I think they do), everything should be correct.
Yes, I check again and all raw method declarations return HRESULT
, so I'm closing this.
stdcall
methods use a slightly different calling convention than normalstdcall
functions. This probably breaks some WinRT methods. See https://github.com/rust-lang/rfcs/issues/1342.