[]
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)
public SwapChain1 CreateSwapChain1ForHwnd(ComObject deviceRef, IntPtr hWnd, ref SwapChainDescription1 descRef, SwapChainFullScreenDescription? fullscreenDescRef, Output restrictToOutputRef)
Type | Name | Description |
---|---|---|
ComObject | deviceRef | |
IntPtr | hWnd | |
SwapChainDescription1 | descRef | |
SwapChainFullScreenDescription? | fullscreenDescRef | |
Output | restrictToOutputRef |
Type | Description |
---|---|
SwapChain1 |