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

# XFrontPanelGetButtonStates

> XFrontPanelGetButtonStates

# XFrontPanelGetButtonStates

프런트 패널 버튼의 상태를 가져옵니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
HRESULT XFrontPanelGetButtonStates(  
         XFrontPanelButton* buttons  
)  
```

<a id="parametersSection" />

### 매개 변수

*buttons*   \_Out\_\
형식: [XFrontPanelButton](/reference/devkit/xfrontpaneldisplay/enums/xfrontpanelbutton)\*

프런트 패널 버튼의 현재 상태를 나타내는 값에 대한 포인터입니다.

<a id="retvalSection" />

### 반환 값

형식: HRESULT

성공하면 `S_OK`를 반환하고, 그렇지 않으면 오류 코드를 반환합니다.

<a id="remarksSection" />

## 설명

XBOX One X 개발 키트의 프런트 패널에는 프로그래밍 가능한 5개의 버튼과 5방향 D-패드로 작동하는 방향 버튼이 포함되어 있습니다.

<img src="https://mintcdn.com/microsoft-4404708b/-_0FrcE2bDxzGxv-/images/gdk/reference/front_panel_display_small.png?fit=max&auto=format&n=-_0FrcE2bDxzGxv-&q=85&s=8c81bf256714cec6526e83a4cbac5538" alt="XBOX One X의 프런트 패널 디스플레이" width="704" height="362" data-path="images/gdk/reference/front_panel_display_small.png" />

*buttons* 매개 변수는 각 버튼의 상태를 나타내는 [XFrontPanelButton](/reference/devkit/xfrontpaneldisplay/enums/xfrontpanelbutton) 개체를 가리킵니다.

자세한 내용은 [XBOX One X: 프런트 패널 디스플레이 사용(NDA 항목)](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/dev-kits/concepts/scorpio-frontpanel)을 참조하세요.

<a id="requirementsSection" />

## 요구 사항

**헤더:** xfrontpaneldisplay.h

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

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

<a id="seealsoSection" />

## 함께 보기

[XFrontPanelDisplay](/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members)


## Related topics

- [XFrontPanelButton](/ko/reference/devkit/xfrontpaneldisplay/enums/xfrontpanelbutton.md)
- [XFrontPanelDisplay](/ko/reference/devkit/xfrontpaneldisplay/xfrontpaneldisplay_members.md)
- [XFrontPanelGetLightStates](/ko/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelgetlightstates.md)
- [XFrontPanelLight](/ko/reference/devkit/xfrontpaneldisplay/enums/xfrontpanellight.md)
- [XFrontPanelSetLightStates](/ko/reference/devkit/xfrontpaneldisplay/functions/xfrontpanelsetlightstates.md)
