-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Dogfood ComInterfaceGenerator in crossgen2 #84643
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't tell you how glad I am to see my code being deleted
Marking this No Merge for now until we update it based on the fact that the APIs are now in the product and not in Ancillary.Interop. |
Is this blocked on another PR which adds new APIs so this change could use them? |
Yep. As soon as we update the repo to the shipping preview 4? (or is it 5?) SDK we can merge this. |
Looks like we're on preview 4 now, @jkoritzinsky are we good to merge? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One change, then LGTM!
Replace the manual ComWrappers implementation in crossgen2 with the ComInterfaceGenerator implementation.
ComInterfaceGenerator does not support chars yet, so they are replaced with ushort for the interface parameters, and manually cast to chars after the COM call.