> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12XboxUnloadDriverModule

> 從處理序卸載目前載入的使用者模式圖形驅動程式。

從處理序卸載目前載入的使用者模式圖形驅動程式。

## 語法

```cpp theme={null}
void D3D12XboxUnloadDriverModule()
```

### 參數

無

### 傳回值

無

## 備註

這是一個公用程式函式，適用於開發人員需要在不同版本的使用者模式圖形驅動程式 (零售版、檢測版和偵錯版) 之間切換的使用案例。由於執行階段不支援同時使用多個版本的驅動程式，因此您必須自行明確管理卸載作業。

<Info>
  在嘗試卸載使用者模式驅動程式模組之前，您必須釋放所有裝置，以及從這些裝置取得的其他介面。
</Info>

## 需求

**標頭:** d3d12\_x.h (XBOX One)、d3d12\_xs.h (XBOX Series)

**程式庫:** d3d12\_x.lib (XBOX One)、d3d12\_xs.lib (XBOX Series)

**支援的平台:** XBOX One 系列、XBOX Series 主機

## 另請參閱

[d3d12\_x](/zh-TW/reference/graphics/d3d12_x/d3d12_x_members)\
[D3D12CreateDevice](/zh-TW/reference/graphics/d3d12_x/functions/d3d12createdevice)
[D3D12XboxCreateDevice](/zh-TW/reference/graphics/d3d12_x/functions/d3d12xboxcreatedevice)


## Related topics

- [D3D12_DRIVER_MATCHING_IDENTIFIER_STATUS](/reference/graphics/d3d12/enums/d3d12_driver_matching_identifier_status_public.md)
- [CheckDriverMatchingIdentifier (XBOX Series consoles)](/reference/graphics/d3d12/interfaces/id3d12device5/methods/id3d12device5_checkdrivermatchingidentifier_public.md)
- [CheckDriverMatchingIdentifier (consolas XBOX Series)](/es/reference/graphics/d3d12/interfaces/id3d12device5/methods/id3d12device5_checkdrivermatchingidentifier_public.md)
- [CheckDriverMatchingIdentifier (XBOX Series 主机)](/zh-CN/reference/graphics/d3d12/interfaces/id3d12device5/methods/id3d12device5_checkdrivermatchingidentifier_public.md)
- [D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER](/es/reference/graphics/d3d12/structs/d3d12_serialized_data_driver_matching_identifier_public.md)
