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

# Méthode ILampArray::GetProductId

> Retourne l'identificateur de produit USB signalé par un périphérique LampArray, ce qui permet aux titres de détecter des modèles matériels précis pour des effets d'éclairage personnalisés.

# ILampArray::GetProductId

Récupère l'ID de produit matériel d'un ILampArray.

## Syntaxe

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

### Paramètres

Cette méthode n'a aucun paramètre.

### Valeur de retour

Type : uint16\_t

L'ID de produit matériel.

## Configuration requise

**En-tête :** LampArray.h

**Bibliothèque :** xgameplatform.lib

**Plateformes prises en charge :** consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

[Vue d'ensemble de l'API d'éclairage](/fr-CA/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

- [Méthode ILampArray::GetDeviceId](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getdeviceid.md)
- [Méthode ILampArray::GetVendorId](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getvendorid.md)
- [Méthode ILampArray::GetLampArrayKind](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlamparraykind.md)
- [Méthode ILampArray::GetLampCount](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampcount.md)
- [Méthode ILampArray::GetLampInfo](/fr-CA/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo.md)
