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)
'Declaration
Public Function CreateSwapChain1ForHwnd( _
ByVal As ComObject, _
ByVal As System.IntPtr, _
ByRef As SwapChainDescription1, _
ByVal As System.Nullable(Of SwapChainFullScreenDescription), _
ByVal As Output _
) As SwapChain1
Parameters
- deviceRef
- hWnd
- descRef
- fullscreenDescRef
- restrictToOutputRef