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

[Tracking] CsWin32 API Change/Add Requests #7468

Open
Tracked by #10797
lonitra opened this issue Jul 20, 2022 · 16 comments
Open
Tracked by #10797

[Tracking] CsWin32 API Change/Add Requests #7468

lonitra opened this issue Jul 20, 2022 · 16 comments
Assignees
Milestone

Comments

@lonitra
Copy link
Member

lonitra commented Jul 20, 2022

In the effort to start using CsWin32 (#7445), there may be APIs we'd like changed or added in cswin32 due to missing typedefs, conveniency, etc. This is a tracking issue to help keep a list of these adds/changes we would like.

Related:

@lonitra lonitra changed the title CsWin32 Signature Change Requests CsWin32 Method Signature Change Requests Jul 20, 2022
@lonitra lonitra changed the title CsWin32 Method Signature Change Requests [Tracking] CsWin32 Method Signature Change Requests Jul 20, 2022
@merriemcgaw merriemcgaw added this to the .NET 7.0 milestone Jul 21, 2022
@lonitra lonitra changed the title [Tracking] CsWin32 Method Signature Change Requests [Tracking] CsWin32 API Change/Add Requests Jul 21, 2022
@elachlan
Copy link
Contributor

elachlan commented Aug 5, 2022

This would be helpful for SHAutoComplete method.
microsoft/win32metadata#1027

@elachlan
Copy link
Contributor

elachlan commented Aug 5, 2022

This is blocking ImmGetConversionStatus:
microsoft/win32metadata#1028

@merriemcgaw merriemcgaw modified the milestones: .NET 7.0, .NET 8.0 Aug 11, 2022
This was referenced Aug 14, 2022
@elachlan
Copy link
Contributor

I am done! I have done my best to make sure I have covered everything, but I may have missed something.

We are going to have difficulties in ComCtl32 because lots of the enums defined in there are not defined in Win32Metadata and might not be added.

Ole32 has a lot of interface updates. But the conversion doesn't seem as bad.

The metadata team and winforms team will need to review and discuss the issues I have linked here.

CC: @sotteson1 and @mikebattista sorry for the issue spam.

@mikebattista
Copy link

Fortunately most of your issues are just with friendly enums which are easy to add.

@elachlan
Copy link
Contributor

The biggest problem winforms will face is the messaging constants. Metadata doesn't group them into enums. Which makes it harder for winforms to consume them. There is a lot to be said for constants though. Since if you only use two of them, then you just import two of them via CsWin32. So the amount of generated code is less.

@merriemcgaw
Copy link
Member

@JeremyKuhne is there anything pending from windows on this?

@JeremyKuhne JeremyKuhne modified the milestones: .NET 8.0, .NET 9.0 Jul 27, 2023
@JeremyKuhne
Copy link
Member

There are still a few open issues, and we are probably missing a couple. We'll do another run through to ensure we have all of the open ones tracked.

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

No branches or pull requests

7 participants