From 13400977a30e427c4d22933d08465fd03decb9f3 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Wed, 20 Mar 2024 15:45:34 +0100 Subject: [PATCH] dxgi: Annotate GetDesc::pDesc with RetVal attribute --- generation/WinSDK/emitter.settings.rsp | 11 +++++++++++ scripts/ChangesSinceLastRelease.txt | 12 ++++++++++++ 2 files changed, 23 insertions(+) diff --git a/generation/WinSDK/emitter.settings.rsp b/generation/WinSDK/emitter.settings.rsp index ef3d8d14..ba46a962 100644 --- a/generation/WinSDK/emitter.settings.rsp +++ b/generation/WinSDK/emitter.settings.rsp @@ -1826,3 +1826,14 @@ IDXGIOutput6::CheckHardwareCompositionSupport::pFlags=[AssociatedEnum("DXGI_HARD IDXGISwapChain::ResizeBuffers::SwapChainFlags=[AssociatedEnum("DXGI_SWAP_CHAIN_FLAG")] IDXGISwapChain3::CheckColorSpaceSupport::pColorSpaceSupport=[AssociatedEnum("DXGI_SWAP_CHAIN_COLOR_SPACE_SUPPORT_FLAG")] IDXGISwapChain3::ResizeBuffers1::SwapChainFlags=[AssociatedEnum("DXGI_SWAP_CHAIN_FLAG")] +IDXGIAdapter::GetDesc::pDesc=[RetVal] +IDXGIAdapter1::GetDesc1::pDesc=[RetVal] +IDXGIAdapter2::GetDesc2::pDesc=[RetVal] +IDXGIAdapter4::GetDesc3::pDesc=[RetVal] +IDXGIOutput::GetDesc::pDesc=[RetVal] +IDXGIOutput6::GetDesc1::pDesc=[RetVal] +IDXGIOutputDuplication::GetDesc::pDesc=[RetVal] +IDXGISurface::GetDesc::pDesc=[RetVal] +IDXGISwapChain::GetDesc::pDesc=[RetVal] +IDXGISwapChain1::GetDesc1::pDesc=[RetVal] +IDXGISwapChain1::GetFullscreenDesc::pDesc=[RetVal] diff --git a/scripts/ChangesSinceLastRelease.txt b/scripts/ChangesSinceLastRelease.txt index 26d7d4e8..9b4ef060 100644 --- a/scripts/ChangesSinceLastRelease.txt +++ b/scripts/ChangesSinceLastRelease.txt @@ -386,3 +386,15 @@ Windows.Win32.Graphics.Dxgi.IDXGIResource.SetEvictionPriority : EvictionPriority Windows.Win32.Graphics.Dxgi.IDXGISurface.Map : MapFlags...UInt32 => DXGI_MAP_FLAGS Windows.Win32.Graphics.Dxgi.IDXGISwapChain.Present : Flags...UInt32 => DXGI_PRESENT Windows.Win32.Graphics.Dxgi.IDXGISwapChain1.Present1 : PresentFlags...UInt32 => DXGI_PRESENT +# dxgi: Annotate GetDesc::pDesc with RetVal attribute +Windows.Win32.Graphics.Dxgi.IDXGIAdapter.GetDesc : pDesc : [Out] => [Out,RetVal] +Windows.Win32.Graphics.Dxgi.IDXGIAdapter1.GetDesc1 : pDesc : [Out] => [Out,RetVal] +Windows.Win32.Graphics.Dxgi.IDXGIAdapter2.GetDesc2 : pDesc : [Out] => [Out,RetVal] +Windows.Win32.Graphics.Dxgi.IDXGIAdapter4.GetDesc3 : pDesc : [Out] => [Out,RetVal] +Windows.Win32.Graphics.Dxgi.IDXGIOutput.GetDesc : pDesc : [Out] => [Out,RetVal] +Windows.Win32.Graphics.Dxgi.IDXGIOutput6.GetDesc1 : pDesc : [Out] => [Out,RetVal] +Windows.Win32.Graphics.Dxgi.IDXGIOutputDuplication.GetDesc : pDesc : [Out] => [Out,RetVal] +Windows.Win32.Graphics.Dxgi.IDXGISurface.GetDesc : pDesc : [Out] => [Out,RetVal] +Windows.Win32.Graphics.Dxgi.IDXGISwapChain.GetDesc : pDesc : [Out] => [Out,RetVal] +Windows.Win32.Graphics.Dxgi.IDXGISwapChain1.GetDesc1 : pDesc : [Out] => [Out,RetVal] +Windows.Win32.Graphics.Dxgi.IDXGISwapChain1.GetFullscreenDesc : pDesc : [Out] => [Out,RetVal]