Takes ownership of an output.
- pDevice [in]
- Exclusive [in]
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.
If a Windows Store app uses TakeOwnership, it fails with DXGI_ERROR_NOT_CURRENTLY_AVAILABLE.