pub unsafe fn D3D11CreateDeviceAndSwapChain<'a, Param0: IntoParam<'a, IDXGIAdapter>, Param2: IntoParam<'a, HINSTANCE>>(
padapter: Param0,
drivertype: D3D_DRIVER_TYPE,
software: Param2,
flags: D3D11_CREATE_DEVICE_FLAG,
pfeaturelevels: *const D3D_FEATURE_LEVEL,
featurelevels: u32,
sdkversion: u32,
pswapchaindesc: *const DXGI_SWAP_CHAIN_DESC,
ppswapchain: *mut Option<IDXGISwapChain>,
ppdevice: *mut Option<ID3D11Device>,
pfeaturelevel: *mut D3D_FEATURE_LEVEL,
ppimmediatecontext: *mut Option<ID3D11DeviceContext>
) -> Result<()>