> ## 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.

# GetGpuHardwareConfigurationX (XBOX One 系列)

> 取得硬體設定資訊：目前僅包含 GPU 的時脈頻率。

取得 GPU 時脈頻率和硬體設定。

## 語法

```cpp theme={null}
void GetGpuHardwareConfigurationX(  
         D3D12XBOX_GPU_HARDWARE_CONFIGURATION* pGpuHardwareConfiguration  
)  
```

### 參數

*pGpuHardwareConfiguration*   \_Out\_\
類型：[D3D12XBOX\_GPU\_HARDWARE\_CONFIGURATION\*](/zh-TW/reference/graphics/d3d12_x/structs/d3d12xbox_gpu_hardware_configuration)

將接收硬體設定資訊的 **D3D12XBOX\_GPU\_HARDWARE\_CONFIGURATION** 結構。

### 傳回值

類型：void

## 備註

此 API 在 XBOX Series X|S 上已被取代，應改用 [XSystemGetDeviceType](/zh-TW/reference/system/xsystem/functions/xsystemgetdevicetype)。

## 需求

**標頭：** d3d12\_x.h

**程式庫：** d3d12\_x.lib

**支援的平台：** XBOX One 系列

## 另請參閱

[ID3D12Device](/zh-TW/reference/graphics/d3d12_x/interfaces/id3d12device/id3d12device)\
[適用於 XBOX One 的 Microsoft Game Development Kit 移植指南](https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/getstarted/overviews/porting-guide-for-existing-ERA)\
[Intelligent Delivery：裝置規範](/zh-TW/build/core-features/common/packaging/intelligentdelivery-device)


## Related topics

- [ILampArray::GetHardwareVersion](/zh-CN/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_gethardwareversion.md)
- [D3D12_GPU_DESCRIPTOR_HANDLE](/zh-CN/reference/graphics/d3d12/structs/d3d12_gpu_descriptor_handle_public.md)
- [NDA topic directory - live Microsoft Learn links](/nda/nda-topic-directory.md)
- [D3D12_GPU_VIRTUAL_ADDRESS_RANGE](/zh-CN/reference/graphics/d3d12/structs/d3d12_gpu_virtual_address_range_public.md)
- [D3D12_GPU_VIRTUAL_ADDRESS_AND_STRIDE](/zh-CN/reference/graphics/d3d12/structs/d3d12_gpu_virtual_address_and_stride_public.md)
