microsoft / windows-rs

Rust for Windows

Home Page:https://kennykerr.ca/rust-getting-started/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature search does not list required features for `IDXGIFactory2::CreateSwapChainForHwnd`

zopsicle opened this issue · comments

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

The CreateSwapChainForHwnd method is missing altogether, hmm.

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.