CreateSwapChain, CreateSwapChainForHwnd or ??

What method in UE4 is used to create the D3D11 device and swapchain?
CreateSwapChain, CreateSwapChainForHwnd or something else?

Nvr mind I see its: “CreateSwapChain”