Nikolay Sivov : dxgi: Create DXGI resource object, optionally supporting surface interfaces.