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

Feature search does not list required features for IDXGIFactory2::CreateSwapChainForHwnd #2913

Open
zopsicle opened this issue Mar 5, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@zopsicle
Copy link

zopsicle commented Mar 5, 2024

Summary

For IDXGIFactory2::CreateSwapChainForHwnd to be available, the feature Win32_Graphics_Dxgi_Common must be enabled. Neither searching for IDXGIFactory2 nor CreateSwapChainForHwnd on https://microsoft.github.io/windows-rs/features lists Win32_Graphics_Dxgi_Common as a required feature.

Screenshot of search results for IDXGIFactory2

Screenshot of search results for CreateSwapChainForHwnd

Crate manifest

No response

Crate code

No response

@zopsicle zopsicle added the bug Something isn't working label Mar 5, 2024
@riverar
Copy link
Collaborator

riverar commented Mar 5, 2024

The CreateSwapChainForHwnd method is missing altogether, hmm.

@kennykerr
Copy link
Collaborator

kennykerr commented Mar 5, 2024

I don't think the index currently includes methods at all. The feature requirements indicate what is required to define the particular type (the interface in this case). Methods that refer to types in non-parent modules may have additional feature requirements.

@kennykerr kennykerr added enhancement New feature or request and removed bug Something isn't working labels Mar 5, 2024
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

No branches or pull requests

3 participants