ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 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 IntPtr, _
       ByRef descRef As SwapChainDescription1, _
       ByVal fullscreenDescRef As Nullable(Of SwapChainFullScreenDescription), _
       ByVal restrictToOutputRef As Output _
    ) As SwapChain1

    Parameters

    deviceRef
    hWnd
    descRef
    fullscreenDescRef
    restrictToOutputRef
    See Also