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

# XTFCONSOLEDATA

> XTFCONSOLEDATA 구조체

# XTFCONSOLEDATA 구조체

[IXtfConsoleManager](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-t.md) 인스턴스의 개발 콘솔에 대한 정보를 포함합니다.

## 구문

```cpp theme={null}
typedef struct _XTFCONSOLEDATA {
    BSTR bstrAlias;
    BSTR bstrAddress;
} XTFCONSOLEDATA, *PXTFCONSOLEDATA;  
```

### 멤버

*bstrAlias*\
콘솔의 이름입니다.

*bstrAddress*\
콘솔의 Tools IP 주소입니다.

## 설명

이 구조체는 [IXtfConsoleManager](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-t.md) 인스턴스의 개발 콘솔에 대한 별칭 및 IP 주소를 포함한 정보를 포함합니다.

**IXtfConsoleManagerCallback** 및 **IXtfEnumerateConsolesCallback** 인터페이스는 [IXtfConsoleManager](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-t.md) 인스턴스에 의해 콜백 메서드가 호출될 때 개발 콘솔에 대한 정보를 전달하기 위해 `XTFCONSOLEDATA` 구조체를 사용합니다. 마찬가지로 [IXtfConsoleManager](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-t.md) 인터페이스는 [GetConsole](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/methods/getconsole-ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-m.md) 및 [GetDefaultConsole](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/methods/getdefaultconsole-ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-m.md) 메서드에서 이 구조체를 사용하여 개발 콘솔에 대한 정보를 제공합니다.

개발 콘솔 쿼리에 대한 자세한 내용은 [Connect(xbconnect.exe)(NDA 항목)](https://docs.xbox.com/ko/tools/tools-console/commandlinetools/xbconnect.md)를 참조하세요.

### BSTR 포인터 처리

이 구조체에서 반환되는 BSTR 포인터 처리에 대한 자세한 내용은 [BSTR용 메모리 할당 및 해제](https://learn.microsoft.com/cpp/atl-mfc-shared/allocating-and-releasing-memory-for-a-bstr?view=vs-2019)를 참조하세요.

## 요구 사항

**헤더:** xtfconsolemanager.h

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

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

## 함께 보기

[IXtfConsoleManager 인터페이스](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-t.md)\
[XtfConsoleManager](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/xtfconsolemanager-xbox-microsoft-n.md)


## Related topics

- [OnAddConsole](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManagerCallback/methods/onaddconsole-ixtfconsolemanagercallback-xtfconsolemanager-xbox-microsoft.md)
- [OnRemoveConsole](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManagerCallback/methods/onremoveconsole-ixtfconsolemanagercallback-xtfconsolemanager-xbox-microso.md)
- [OnConsoleFound](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfEnumerateConsolesCallback/methods/onconsolefound-ixtfenumerateconsolescallback-xtfconsolemanager-xbox-mi.md)
- [OnChangedDefaultConsole](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManagerCallback/methods/onchangeddefaultconsole-ixtfconsolemanagercallback-xtfconsolemanager-xbox.md)
- [GetDefaultConsole](https://docs.xbox.com/ko/reference/tools/xtf/xtfconsolemanager/classes/IXtfConsoleManager/methods/getdefaultconsole-ixtfconsolemanager-xtfconsolemanager-xbox-microsoft-m.md)
