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

# GetDeviceStatus (사용되지 않음)

> 입력 장치의 현재 상태를 검색합니다(v4에서 제거됨).

> [!WARNING]
>
> **사용되지 않음.** 이 메서드는 GameInput v4에서 제거되었으며 현재 API에서는 사용할 수 없습니다. 장치가 연결되어 있는지 확인하려면 [IGameInputDevice::IsConnected](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_isconnected.md)를 사용하고, 변경 사항에 반응하려면 장치 콜백에서 [GameInputDeviceEvent](https://learn.microsoft.com/en-us/gaming/gdk/docs/reference/input/gameinput/enums/gameinputdeviceevent) 값을 처리하세요.

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

## 구문

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

### 매개변수

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

### 반환값

형식: [GameInputDeviceStatus](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/enums/gameinputdevicestatus.md)

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

## 설명

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

## 요구 사항

**헤더:** GameInput.h

## 함께 보기

[사용되지 않는 GameInput API 멤버](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/gameinput_deprecated_members.md)\
[IGameInputDevice::IsConnected](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/methods/igameinputdevice_isconnected.md)\
[GameInputDeviceEvent](https://learn.microsoft.com/en-us/gaming/gdk/docs/reference/input/gameinput/enums/gameinputdeviceevent)\
[GameInput 개요](https://docs.xbox.com/ko/build/core-features/common/input/overviews/input-overview.md)\
[GameInputDeviceStatus](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/enums/gameinputdevicestatus.md)\
[RegisterDeviceCallback](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinput/methods/igameinput_registerdevicecallback.md)\
[IGameInputDevice](https://docs.xbox.com/ko/reference/input/gameinput/interfaces/igameinputdevice/igameinputdevice.md)

## 버전 기록

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


## Related topics

- [GameInputDeviceStatus (사용되지 않음)](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/enums/gameinputdevicestatus.md)
- [GetDeviceInfo (사용되지 않음)](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getdeviceinfo.md)
- [IGameInputDevice::GetBatteryState (사용되지 않음)](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getbatterystate.md)
- [IGameInputDevice::GetRawDeviceFeature (사용되지 않음)](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/interfaces/igameinputdevice/methods/igameinputdevice_getrawdevicefeature.md)
- [GameInputDeviceInfo (사용되지 않음)](https://docs.xbox.com/ko/reference/input/gameinput/deprecated/structs/gameinputdeviceinfo.md)
