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

HRESULT_FROM_WIN32 #1010

Closed
Nuklon opened this issue Aug 2, 2023 · 3 comments
Closed

HRESULT_FROM_WIN32 #1010

Nuklon opened this issue Aug 2, 2023 · 3 comments

Comments

@Nuklon
Copy link

Nuklon commented Aug 2, 2023

Not entirely sure if it should be posted here or in CsWin32, but this macro would be useful to add (perhaps in HRESULT).

@riverar
Copy link

riverar commented Aug 2, 2023

Your instincts are correct, this is a projection-specific request. (For example, here's what Rust does.)

Perhaps @AArnott can transfer this issue to avoid having to create another?

@mikebattista mikebattista transferred this issue from microsoft/win32metadata Aug 2, 2023
@AArnott
Copy link
Member

AArnott commented Aug 11, 2023

CsWin32 can already generate HRESULT_FROM_WIN32. You just have to ask for it in your NativeMethods.txt file.

@AArnott AArnott closed this as not planned Won't fix, can't repro, duplicate, stale Aug 11, 2023
@Nuklon
Copy link
Author

Nuklon commented Aug 12, 2023

Hmm, it didn't get generated for me last time, but it does now, thanks :)

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

3 participants