ComponentOne Bitmap for UWP
CreateSwapChain1ForHwnd Method

C1.UWP.DX Assembly > C1.Util.DX.DXGI Namespace > Factory2 Class : CreateSwapChain1ForHwnd Method
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
public SwapChain1 CreateSwapChain1ForHwnd( 
   ComObject deviceRef,
   System.IntPtr hWnd,
   ref SwapChainDescription1 descRef,
   System.Nullable<SwapChainFullScreenDescription> fullscreenDescRef,
   Output restrictToOutputRef
)

Parameters

deviceRef
hWnd
descRef
fullscreenDescRef
restrictToOutputRef
See Also

Reference

Factory2 Class
Factory2 Members