Hello, recently I had to take on the mission of updating a D3D9Ex game app to D3D11, I picked up a book along with Microsoft documentation and sat with myself to learn D3D11, and I am actively applying what I learn, currently I am in the device creation portion and have rewritten it from D3D9Ex.. Am I on the right track? Any comments or something I could do better?

pSwapChainDesc = DXGI_SWAP_CHAIN_DESC
gDriverType = D3D_DRIVER_TYPE_HARDWARE