https://learn.microsoft.com/en-us/windows/win32/api/dxgi1_2/nf-dxgi1_2-idxgioutput1-getdisplaymodelist1
IDXGIOutput1::GetDisplayModeList1 (dxgi1_2.h) - Win32 apps | Microsoft Learn
Gets the display modes that match the requested format and other input options. (IDXGIOutput1.GetDisplayModeList1)
happsmicrosoftlearn