MicrosoftDocs / feedback

📢 docs.microsoft.com site feedback
https://learn.microsoft.com
Creative Commons Attribution 4.0 International
239 stars 160 forks source link

Unknown MF_SA_D3D_ALLOCATE_DISPLAYABLE_RESOURCES guid value #3956

Open mmozeiko opened 1 year ago

mmozeiko commented 1 year ago

Apologies if this is wrong repository to report this issue, but I could not find better one. I want to use Media Foundation MF_SA_D3D_ALLOCATE_DISPLAYABLE_RESOURCES GUID value that is referenced here: https://learn.microsoft.com/en-us/windows/win32/medfound/mf-sa-d3d11-allocate-displayable-resources

But I don't know where to find this GUID. It does not exist in header files or .lib files in Windows SDK. I've checked the latest Windows 11 SDK (10.0.22621.0) available in Visual Studio 2022 installer.

I even checked latest win32 metadata .windm file from here: https://www.nuget.org/packages/Microsoft.Windows.SDK.Win32Metadata/

Ideally header/lib should contain this GUID value. But maybe it would be also useful to put inside docs.

mmozeiko commented 1 year ago

Turns out the actual name of GUID is MF_SA_D3D11_ALLOCATE_DISPLAYABLE_RESOURCES - note the D3D11 and not D3D. The linked docs page use D3D name without 11 in its title. That should be fixed.

The table here also has wrong name: https://learn.microsoft.com/en-us/windows/win32/medfound/alphabetical-list-of-media-foundation-attributes#in-this-section