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

# GetVendorId

> Returns the USB vendor identifier reported by a LampArray peripheral, letting titles detect the manufacturer to apply device-specific lighting.

Retrieves the hardware vendor ID number for an ILampArray.

## Syntax

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

### Parameters

This method has no parameters.

### Return value

Type: uint16\_t

The hardware vendor ID.

## Requirements

**Header:** LampArray.h

**Library:** xgameplatform.lib

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[Lighting API Overview](https://docs.xbox.com/build/core-features/common/lighting/gc-lighting-toc.md)\
[ILampArray](https://docs.xbox.com/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)


## Related topics

- [ILampArray (Interface contents)](https://docs.xbox.com/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [Licensed Test Vendors](https://docs.xbox.com/publishing/game-publishing/resources/third-party-authorized-test-vendors.md)
- [PFAuthenticationServerLoginWithIOSDeviceIDAsync](https://docs.xbox.com/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithiosdeviceidasync.md)
- [DXGI_ADAPTER_DESC2 (XBOX Series consoles)](https://docs.xbox.com/reference/graphics/d3d12_xs/structs/dxgi_adapter_desc2.md)
- [Link IOS Device ID](https://docs.xbox.com/api-reference/account-management/link-ios-device-id.md)
