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

# GetDeviceStatus

> GetDeviceStatus

# GetDeviceStatus

입력 장치의 현재 상태를 검색합니다.

## 구문

```cpp theme={null}
GameInputDeviceStatus GetDeviceStatus();
```

### 매개변수

이 메서드에는 매개변수가 없습니다.

### 반환값

형식: [GameInputDeviceStatus](/reference/input/gameinput/enums/gameinputdevicestatus)

반환된 값은 열거형 `GameInputDeviceStatus`입니다. 반환된 값은 [GameInputDeviceStatus](/reference/input/gameinput/enums/gameinputdevicestatus)의 열거된 플래그 값 조합일 수 있습니다.

## 설명

반환된 [GameInputDeviceStatus](/reference/input/gameinput/enums/gameinputdevicestatus) 열거형은 장치가 연결되어 있는지 여부와 게임과 장치 사이에서 전송될 수 있는 입력 및 출력 유형을 정의합니다. 장치가 시스템에서 분리된 상태에서 `GetDeviceStatus` 메서드가 호출되면 `GameInputDeviceNoStatus` 값이 반환됩니다. `GameInputDeviceStatus` 열거형을 [RegisterDeviceCallback](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_registerdevicecallback) 메서드의 필터로 사용하여 장치 상태의 특정 변경에 반응할 수 있습니다.

## 요구 사항

**헤더:** GameInput.h

[GameInput 개요](/build/core-features/common/input/overviews/input-overview)\
[GameInputDeviceStatus](/reference/input/gameinput/enums/gameinputdevicestatus)\
[RegisterDeviceCallback](/reference/input/gameinput/interfaces/igameinput/methods/igameinput_registerdevicecallback)\
[IGameInputDevice](/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice)

## 버전 기록

| 버전     | 변경 사항 |
| ------ | ----- |
| **v0** | 도입됨.  |


## Related topics

- [GameInputDeviceStatus](/ko/reference/input/gameinput/enums/gameinputdevicestatus.md)
- [GameInputDeviceCallback](/ko/reference/input/gameinput/functions/gameinputdevicecallback.md)
- [PFAccountManagementClientLinkIOSDeviceIDAsync](/ko/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkiosdeviceidasync.md)
- [PFAccountManagementClientLinkAndroidDeviceIDAsync](/ko/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientlinkandroiddeviceidasync.md)
- [PFAccountManagementClientUnlinkIOSDeviceIDAsync](/ko/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientunlinkiosdeviceidasync.md)
