Tools/DXGIAdapterRemovalSupportTest/readme.md
This sample test simulates D3D device removed events by disabling and enabling the hardware graphics/display adapters on the system. This helps determine if an application is able to support and survive adapter removals.
If the result of test is that the application seems to support adapter removal properly, then the application should declare it viaDXGIDeclareAdapterRemovalSupport API. This allows Windows to identify such applications and act accordingly, for example, to allow safe detachment of the xGPU even when this application is rendering on it.
An example of an application that supports adapter removal behavior is the D3D12xGPU sample application.