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

Contains information about a running XBOX Tools Framework (XTF) process.

<a id="syntaxSection" />

## Syntax

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

<a id="membersSection" />

### Members

*dwProcessId*\
Type: DWORD

Identifier of the process.

*pszImageFileName*\
Type: LPCWSTR

Pointer to the filename of the process image.

<a id="remarksSection" />

## Remarks

This structure represents the process ID and filename of the process image for a running process on a development console. The [IXtfConsoleControlClient::GetRunningProcesses](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_getrunningprocesses) function provides a pointer to an `XTFPROCESSINFO` structure when the function invokes an implemented [IXtfRunningProcessCallback::OnFoundProcess](/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfRunningProcessCallback/methods/ixtfrunningprocesscallback_onfoundprocess) callback function for each running process on a development console. For more information about listing running processes using XBOX Tools Framework (XTF), see [Process list (xbtlist.exe) (NDA topic)](/tools/tools-console/commandlinetools/xbtlist).

<a id="requirements" />

## Requirements

**Header:** xtfconsolecontrol.h

**Library:** xtfconsolecontrol.lib

**Supported platforms:** Windows (for XBOX console tools)

<a id="seealsoSection" />

## See also

[XtfConsoleControl](/reference/tools/xtf/xtfconsolecontrol/xtfconsolecontrol_members)\
[XBOX Tools Framework native API reference](/reference/tools/xtf/atoc-xtf-native)


## Related topics

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