-
Notifications
You must be signed in to change notification settings - Fork 954
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
Comments
This would be helpful for |
This is blocking |
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
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. |
Fortunately most of your issues are just with friendly enums which are easy to add. |
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. |
@JeremyKuhne is there anything pending from windows on this? |
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. |
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.
CombineRgn
method missingRegionType
return type (Consider Changing CombineRgn Return Type to Enum microsoft/win32metadata#1024)RECT
(Consider adding cast operators to System.Drawing types microsoft/CsWin32#626)RECT
->Rectangle
Width
andHeight
properties forRECT
RECT(int left, int top, int right, int bottom)
GetROP2
/SetROP2
Consider Adding Enum Type for GetROP2/SetROP2 microsoft/win32metadata#1045GetTextAlign
/SetTextAlign
Consider Adding Enum Type for GetTextAlign/SetTextAlign microsoft/win32metadata#1036COLORREF
return type forGetTextColor
,GetBkColor
Add COLORREF to CsWin32 microsoft/win32metadata#1035SHACF
enum missingSHACF
enum missing forshautocomplete
microsoft/win32metadata#1027XFORM
>Matrix3x2
LOGFONTW
members/LF_FACESIZE
Consider Updating LOGFONTW microsoft/win32metadata#1060Related:
The text was updated successfully, but these errors were encountered: