Takes ownership of an output.
HRESULT TakeOwnership( IUnknown *pDevice, BOOL Exclusive );
Set to TRUE to enable other threads or applications to take ownership of the device; otherwise, set to FALSE.
Returns one of the DXGI_ERROR values.
When you are finished with the output, call IDXGIOutput::ReleaseOwnership.
TakeOwnership should not be called directly by applications, since results will be unpredictable. It is called implicitly by the DXGI swap chain object during full-screen transitions, and should not be used as a substitute for swap-chain methods.DXGI_ERROR_NOT_CURRENTLY_AVAILABLE.