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

# IXtfConsoleManager::EnumerateConsoles 메서드

> IXtfConsoleManager::EnumerateConsoles 메서드

# IXtfConsoleManager::EnumerateConsoles 메서드

[IXtfConsoleManager](/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-t) 인스턴스의 개발 콘솔을 열거합니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
public:
HRESULT EnumerateConsoles(
         IXtfEnumerateConsolesCallback *pCallback
)  
```

<a id="parametersSection" />

### 매개 변수

*pCallback*\
형식: IXtfEnumerateConsolesCallback\*

콘솔이 열거되었을 때 호출할 [IXtfEnumerateConsolesCallback](/reference/tools/xtf/xtfconsolemanager/classes/IXtfEnumerateConsolesCallback/ixtfenumerateconsolescallback-xtfconsolemanager-xbox-microsoft-t) 콜백에 대한 포인터입니다.

<a id="retvalSection" />

### 반환 값

형식: HRESULT

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

<a id="remarksSection" />

## 설명

이 메서드는 [IXtfConsoleManager](/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-t) 인스턴스의 개발 콘솔을 열거합니다. 인스턴스에서 발견된 각 개발 콘솔에 대해 `IXtfConsoleManager` 인스턴스는 `pCallback`에 지정된 [IXtfEnumerateConsolesCallback](/reference/tools/xtf/xtfconsolemanager/classes/IXtfEnumerateConsolesCallback/ixtfenumerateconsolescallback-xtfconsolemanager-xbox-microsoft-t) 인터페이스의 [OnConsoleFound](/reference/tools/xtf/xtfconsolemanager/classes/IXtfEnumerateConsolesCallback/methods/onconsolefound-ixtfenumerateconsolescallback-xtfconsolemanager-xbox-mi) 콜백 메서드를 호출합니다. 그런 다음 `OnConsoleFound` 메서드는 해당 개발 콘솔에 대한 정보를 포함하는 [XTFCONSOLEDATA](/reference/tools/xtf/xtfconsolemanager/structures/xtfconsoledata-xtfconsolemanager-xbox-microsoft-t) 구조체를 제공합니다.

개발 콘솔을 연결하고 쿼리하는 방법에 대한 자세한 내용은 [연결(xbconnect.exe)(NDA 항목)](/tools/tools-console/commandlinetools/xbconnect)을 참조하세요.

<a id="requirementsSection" />

## 요구 사항

**헤더:** xtfconsolemanager.h

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

**지원 플랫폼:** Windows(XBOX 콘솔 도구용)

<a id="seealsoSection" />

## 함께 보기

[IXtfConsoleManager::GetConsole 메서드](/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/methods/getconsole-ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-m)\
[IXtfConsoleManager::GetDefaultConsole 메서드](/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/methods/getdefaultconsole-ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-m)\
[IXtfConsoleManager 인터페이스](/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-t)\
[XtfConsoleManager](/reference/tools/xtf/xtfconsolemanager/xtfconsolemanager-xbox-microsoft-n)


## Related topics

- [IXtfConsoleManager::GetConsole 메서드](/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/methods/getconsole-ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-m.md)
- [IXtfEnumerateConsolesCallback::OnConsoleFound 메서드](/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfEnumerateConsolesCallback/methods/onconsolefound-ixtfenumerateconsolescallback-xtfconsolemanager-xbox-mi.md)
- [IXtfConsoleManager::AddConsole 메서드](/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/methods/addconsole-ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-m.md)
- [IXtfConsoleManager::RemoveConsole 메서드](/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/methods/removeconsole-ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-m.md)
- [IXtfConsoleManager::GetDefaultConsole 메서드](/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/methods/getdefaultconsole-ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-m.md)
