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

# ILampArray::GetHardwareVersion 方法

> 傳回 LampArray 周邊裝置所回報的硬體修訂號碼，有助於偵測其他方面完全相同之裝置間的韌體差異。

# ILampArray::GetHardwareVersion

擷取 ILampArray 的硬體版本號碼。

## 語法

```cpp theme={null}
uint16_t GetHardwareVersion(
)
```

### 參數

此方法沒有參數。

### 傳回值

類型：uint16\_t

硬體版本。

## 需求

**標頭：** LampArray.h

**程式庫：** xgameplatform.lib

**支援的平台：** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[照明 API 概觀](/zh-TW/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

- [ILampArray::GetLampArrayKind 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlamparraykind.md)
- [ILampArray::GetLampInfo 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo.md)
- [ILampArray::GetLampCount 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampcount.md)
- [ILampArray::GetIsEnabled 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getisenabled.md)
- [ILampArray::GetIndicesForPurposes 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getindicesforpurposes.md)
