C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DXGI Namespace / Factory2 Class / CreateSwapChain1ForHwnd Method

In This Topic
CreateSwapChain1ForHwnd Method
In This Topic
HRESULT IDXGIFactory2::CreateSwapChainForHwnd([In] IUnknown* pDevice,[In] HWND hWnd,[In] const DXGI_SWAP_CHAIN_DESC1* pDesc,[In, Optional] const DXGI_SWAP_CHAIN_FULLSCREEN_DESC* pFullscreenDesc,[In, Optional] IDXGIOutput* pRestrictToOutput,[Out, Fast] IDXGISwapChain1** ppSwapChain)
Syntax
'Declaration
 
Public Function CreateSwapChain1ForHwnd( _
   ByVal deviceRef As ComObject, _
   ByVal hWnd As System.IntPtr, _
   ByRef descRef As SwapChainDescription1, _
   ByVal fullscreenDescRef As System.Nullable(Of SwapChainFullScreenDescription), _
   ByVal restrictToOutputRef As Output _
) As SwapChain1
 

Parameters

deviceRef
hWnd
descRef
fullscreenDescRef
restrictToOutputRef
See Also