> ## 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::GetDeviceId

> ILampArray::GetDeviceId

# ILampArray::GetDeviceId

ILampArray のシステム生成の ID を返します。

## 構文

```cpp theme={null}
void GetDeviceId(
    APP_LOCAL_DEVICE_ID* deviceId)
```

### パラメーター

*deviceId*  \_Out\_
Type: APP\_LOCAL\_DEVICE\_ID\*

デバイス ID がコピーされる APP\_LOCAL\_DEVICE\_ID 構造体へのポインター。

### 戻り値

Type: void

## 解説

*application-local device ID* とは、アプリケーションの再起動やシステムの再起動を経てもデバイスを一意に識別する特別な 32 バイトの値です。この ID は、ワイヤレス デバイスの切断と再接続や、同じ USB ポートに差し戻される限りは有線 USB デバイスの切断と再接続を経ても安定しています。

初回リリースでは、この関数はすべてゼロの値を設定します。

## 要件

**ヘッダー:** LampArray.h

**ライブラリ:** xgameplatform.lib

**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[Lighting API の概要](/build/core-features/common/lighting/gc-lighting-toc)\
[ILampArray](/reference/lighting/lamparray/interfaces/ilamparray/ilamparray)


## Related topics

- [ILampArray::GetProductId](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getproductid.md)
- [ILampArray::GetVendorId](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getvendorid.md)
- [ILampArray::GetLampArrayKind](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlamparraykind.md)
- [ILampArray::GetLampCount](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampcount.md)
- [ILampArray::GetLampInfo](/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/methods/ilamparray_getlampinfo.md)
