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

# GetProductId

> Returns the USB product identifier reported by a LampArray peripheral, letting titles detect specific hardware models for custom lighting effects.

Retrieves the hardware product ID for an ILampArray.

## Syntax

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

### Parameters

This method has no parameters.

### Return value

Type: uint16\_t

The hardware product 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)
- [XStoreQueryAssociatedProductsForStoreIdAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync.md)
- [XStoreQueryAssociatedProductsForStoreIdResult](https://docs.xbox.com/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidresult.md)
- [Product groups](https://docs.xbox.com/publishing/game-publishing/concepts/product-groups.md)
- [XStoreGetUserPurchaseIdAsync](https://docs.xbox.com/reference/system/xstore/functions/xstoregetuserpurchaseidasync.md)
