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

Filter generated output based on target WinSDK version #40

Closed
AArnott opened this issue Jan 21, 2021 · 0 comments · Fixed by #204
Closed

Filter generated output based on target WinSDK version #40

AArnott opened this issue Jan 21, 2021 · 0 comments · Fixed by #204
Labels
enhancement New feature or request

Comments

@AArnott
Copy link
Member

AArnott commented Jan 21, 2021

When a project's properties indicate the WinSDK version it is targeting, we should generate only those APIs that are available on that Windows version.
When the app specifies a band of versions (a preferred target + a minimum required), we can provide the higher version's APIs, but may want to annotate them somehow to help the developer realize when "light up" version checks are required.

@AArnott AArnott added the enhancement New feature or request label Jan 21, 2021
AArnott added a commit that referenced this issue Mar 17, 2021
Extern methods and COM interfaces-as-structs get it. Genuine COM interfaces don't get it because the attribute forbids application on interfaces.

Closes #40
AArnott added a commit that referenced this issue Mar 17, 2021
Extern methods and COM interfaces-as-structs get it on net5.0+. Genuine COM interfaces don't get it before net6.0 because the attribute forbids application on interfaces.

Closes #40
AArnott added a commit that referenced this issue Mar 17, 2021
Extern methods and COM interfaces-as-structs get it on net5.0+. Genuine COM interfaces don't get it before net6.0 because the attribute forbids application on interfaces.

Closes #40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant