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

# IXtfRunningProcessCallback

> IXtfRunningProcessCallback

# IXtfRunningProcessCallback

提供一个回调，在 [IXtfConsoleControlClient::GetRunningProcesses](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_getrunningprocesses) 操作期间发现正在运行的进程时会调用该回调。

<a id="syntaxSection" />

## 语法

```cpp theme={null}
class IXtfRunningProcessCallback : public IUnknown  
```

## 方法

| 方法                                                                                                                                               | 说明             |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- |
| [OnFoundProcess](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfRunningProcessCallback/methods/ixtfrunningprocesscallback_onfoundprocess) | 在发现正在运行的进程时调用。 |

<a id="requirements" />

## 要求

**头文件：** xtfconsolecontrol.h

**库：** xtfconsolecontrol.lib

**支持的平台：** Windows（适用于 XBOX 主机工具）

<a id="ID4E6" />

## 另请参阅

<a id="ID4EBB" />

##### 参考

[xtfconsolecontrol](/reference/tools/xtf/xtfconsolecontrol/xtfconsolecontrol_members)


## Related topics

- [IXtfRunningProcessCallback::OnFoundProcess](/zh-CN/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfRunningProcessCallback/methods/ixtfrunningprocesscallback_onfoundprocess.md)
- [IXtfConsoleControlClient::GetRunningProcesses](/zh-CN/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_getrunningprocesses.md)
- [XTFPROCESSINFO](/zh-CN/reference/tools/xtf/xtfconsolecontrol/structs/xtfprocessinfo.md)
- [XtfDebugStringCallback](/zh-CN/reference/tools/xtf/xtfapi/functions/xtfdebugstringcallback-xtfapi-xbox-windows-m.md)
- [IXtfDebugMonitorClient::Start Method](/zh-CN/reference/tools/xtf/xtfdebugmonitor/classes/IXtfDebugMonitorClient/methods/start-ixtfdebugmonitorclient-xtfdebugmonitor-xbox-microsoft-m.md)
