pub unsafe fn D3D10CreateDeviceAndSwapChain1<P0, P1>(
    padapter: P0,
    drivertype: D3D10_DRIVER_TYPE,
    software: P1,
    flags: u32,
    hardwarelevel: D3D10_FEATURE_LEVEL1,
    sdkversion: u32,
    pswapchaindesc: Option<*const DXGI_SWAP_CHAIN_DESC>,
    ppswapchain: Option<*mut Option<IDXGISwapChain>>,
    ppdevice: Option<*mut Option<ID3D10Device1>>,
) -> Result<()>
where P0: Param<IDXGIAdapter>, P1: Param<HMODULE>,