Allows a process to indicate that it's resilient to any of its graphics devices being removed.
HRESULT DXGIDeclareAdapterRemovalSupport( );
This function has no parameters.
Returns S_OK if successful; an error code otherwise. If this function is called after device creation, it returns DXGI_ERROR_INVALID_CALL. If this is not the first time that this function is called, it returns DXGI_ERROR_ALREADY_EXISTS. For a full list of error codes, see DXGI_ERROR.
This function is graphics API-agonistic, meaning that apps running on other APIs, such as OpenGL and Vulkan, would also apply.
This function should be called once per process and before any device creation.
|Minimum supported client||Windows 10, version 1803 [desktop apps only]|
|Minimum supported server||None supported|