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

# GetDeviceId

> ILampArray::GetDeviceId

# ILampArray::GetDeviceId

ILampArray에 대해 시스템이 생성한 ID를 반환합니다.

## 구문

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

### 매개변수

*deviceId*  \_Out\_
형식: APP\_LOCAL\_DEVICE\_ID\*

장치 ID가 복사될 APP\_LOCAL\_DEVICE\_ID 구조체에 대한 포인터입니다.

### 반환값

형식: void

## 설명

\_애플리케이션 로컬 장치 ID\_는 애플리케이션 재시작이나 시스템 재부팅 이후에도 장치를 고유하게 식별하는 특수 32바이트 값입니다. 이 ID는 무선 장치의 연결 해제 및 재연결, 그리고 유선 USB 장치가 동일한 USB 포트에 다시 연결되는 한 안정적으로 유지됩니다.

초기 릴리스에서 이 함수는 모두 0인 값을 채웁니다.

## 요구 사항

**헤더:** LampArray.h

**라이브러리:** xgameplatform.lib

**지원되는 플랫폼:** XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 함께 보기

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


## Related topics

- [ILampArray (인터페이스 콘텐츠)](https://docs.xbox.com/ko/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [post_decode_audio_sink_stream::get_device_id](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/post_decode_audio_sink_stream/methods/post_decode_audio_sink_stream_get_device_id.md)
- [XInputGetDeviceId](https://docs.xbox.com/ko/reference/input/xinputongameinput/functions/xinputgetdeviceid.md)
- [XSystemGetAppSpecificDeviceId](https://docs.xbox.com/ko/reference/system/xsystem/functions/xsystemgetappspecificdeviceid.md)
- [APP_LOCAL_DEVICE_ID](https://docs.xbox.com/ko/reference/system/xuser/structs/app_local_device_id.md)
