> ## 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::GetVendorId 方法

> 傳回 LampArray 周邊裝置所回報的 USB 廠商識別碼，讓遊戲能偵測製造商以套用裝置專屬的照明。

# ILampArray::GetVendorId

擷取 ILampArray 的硬體廠商識別碼。

## 語法

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

### 參數

此方法沒有參數。

### 傳回值

類型：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::GetProductId 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getproductid.md)
- [ILampArray::GetDeviceId 方法](/zh-TW/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getdeviceid.md)
- [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)
