Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure that correct calling convention is used #16

Closed
Boddlnagg opened this issue Aug 19, 2016 · 2 comments
Closed

Make sure that correct calling convention is used #16

Boddlnagg opened this issue Aug 19, 2016 · 2 comments
Milestone

Comments

@Boddlnagg
Copy link
Collaborator

stdcall methods use a slightly different calling convention than normal stdcall functions. This probably breaks some WinRT methods. See rust-lang/rfcs#1342.

@Boddlnagg
Copy link
Collaborator Author

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.

@Boddlnagg Boddlnagg added this to the 0.6 milestone Feb 28, 2019
@Boddlnagg
Copy link
Collaborator Author

Yes, I check again and all raw method declarations return HRESULT, so I'm closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant