CreateSwapChain1ForHwnd Method
CreateSwapChain1ForHwnd(ComObject, IntPtr, ref SwapChainDescription1, SwapChainFullScreenDescription?, Output)
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 SwapChain1 CreateSwapChain1ForHwnd(ComObject deviceRef, IntPtr hWnd, ref SwapChainDescription1 descRef, SwapChainFullScreenDescription? fullscreenDescRef, Output restrictToOutputRef)
Public Function CreateSwapChain1ForHwnd(deviceRef As ComObject, hWnd As IntPtr, ByRef descRef As SwapChainDescription1, fullscreenDescRef As SwapChainFullScreenDescription?, restrictToOutputRef As Output) As SwapChain1
Parameters
Returns