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

# XTFPROCESSINFO

> XTFPROCESSINFO

# XTFPROCESSINFO

包含執行中 XBOX Tools Framework (XTF) 處理序的相關資訊。

<a id="syntaxSection" />

## 語法

```cpp theme={null}
typedef struct XTFPROCESSINFO {
    DWORD dwProcessId;
    LPCWSTR pszImageFileName;
} XTFPROCESSINFO, *LPXTFPROCESSINFO;  
```

<a id="membersSection" />

### 成員

*dwProcessId*\
類型：DWORD

處理序的識別碼。

*pszImageFileName*\
類型：LPCWSTR

指向處理序映像檔案名稱的指標。

<a id="remarksSection" />

## 備註

此結構代表開發主機上執行中處理序的處理序識別碼和處理序映像檔案名稱。[IXtfConsoleControlClient::GetRunningProcesses](/zh-TW/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_getrunningprocesses) 函式會針對開發主機上的每個執行中處理序叫用所實作的 [IXtfRunningProcessCallback::OnFoundProcess](/zh-TW/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfRunningProcessCallback/methods/ixtfrunningprocesscallback_onfoundprocess) 回呼函式，並在叫用時提供指向 `XTFPROCESSINFO` 結構的指標。如需使用 XBOX Tools Framework (XTF) 列出執行中處理序的詳細資訊，請參閱[處理序清單 (xbtlist.exe) (NDA 主題)](/zh-TW/tools/tools-console/commandlinetools/xbtlist)。

<a id="requirements" />

## 需求

**標頭：** xtfconsolecontrol.h

**程式庫：** xtfconsolecontrol.lib

**支援的平台：** Windows (適用於 XBOX 主機工具)

<a id="seealsoSection" />

## 另請參閱

[XtfConsoleControl](/zh-TW/reference/tools/xtf/xtfconsolecontrol/xtfconsolecontrol_members)\
[XBOX Tools Framework 原生 API 參考](/zh-TW/reference/tools/xtf/atoc-xtf-native)


## Related topics

- [IXtfRunningProcessCallback::OnFoundProcess](/zh-TW/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfRunningProcessCallback/methods/ixtfrunningprocesscallback_onfoundprocess.md)
- [IXtfConsoleControlClient::GetRunningProcesses](/zh-TW/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_getrunningprocesses.md)
