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

# GetHardwareVersion

> ILampArray::GetHardwareVersion

# ILampArray::GetHardwareVersion

检索 ILampArray 的硬件版本号。

## 语法

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

### 参数

此方法没有参数。

### 返回值

类型：uint16\_t

硬件版本。

## 要求

**头文件：** LampArray.h

**库：** xgameplatform.lib

**支持的平台：** XBOX One 系列主机和 XBOX Series 主机

## 另请参阅

[光照 API 概览](https://docs.xbox.com/zh-CN/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampArray](https://docs.xbox.com/zh-CN/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)


## Related topics

- [ILampArray（接口内容）](https://docs.xbox.com/zh-CN/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [GetDeviceInfo](https://docs.xbox.com/zh-CN/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo.md)
- [GameInputString（已弃用）](https://docs.xbox.com/zh-CN/reference/input/gameinput/deprecated/structs/gameinputstring.md)
- [Get Cloud Script Versions](https://docs.xbox.com/api-reference/server-side-cloud-script/get-cloud-script-versions.md)
- [Get Player Statistic Versions](https://docs.xbox.com/api-reference/player-data-management/get-player-statistic-versions.md)
