# D3D12Device::SetDeviceRemoved ```cpp void SetDeviceRemoved(); ``` 标记设备已移除。 ## 相关文档 - [D3D12Device 总览](device.md) - 返回类总览 - [IsDeviceRemoved](is-device-removed.md) - 查询设备是否已移除