-
Notifications
You must be signed in to change notification settings - Fork 117
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
Improve accuracy of supported OS versions for APIs #738
Comments
I've tried building with NTDDI_VERSION set to different values and that's full of issues. I have an internal thread looking into better ways to source this information. |
We might be better off just ignoring/dropping the attribute for now, get the APIs emitted, then move to a maintain-the-scraper-output stage where we can do an OS verison annotation pass. (I'm not sure anyone is using the attribute today.) |
@riverar The
With CsWin32 still in beta, breaking changes would still be permissible, but there are clients that do use the attribute (even if not directly). |
The values are wildly wrong so I hope no one is truly using them! |
Should we remove this principle from https://github.com/microsoft/win32metadata/blob/main/docs/projections.md, since these are unreliable?
|
In order to improve on the supported OS platforms, and to avoid having to scrape the docs (which don't always seem to be accurate), we could build the .winmd multiple times with _WIN32_WINNT set to different versions. By looking at the differences, we could see which APIs are supported in which versions. This would not be part of every build. It would be a step we would run manually in order build up the platform versions input .rsp.
The text was updated successfully, but these errors were encountered: