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

# XTFPROCESSINFO

> XTFPROCESSINFO

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

## Syntax

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

### Members

*dwProcessId*\
Type: DWORD

Identifier of the process.

*pszImageFileName*\
Type: LPCWSTR

Pointer to the filename of the process image.

## Remarks

This structure represents the process ID and filename of the process image for a running process on a development console. The [IXtfConsoleControlClient::GetRunningProcesses](https://docs.xbox.com/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_getrunningprocesses.md) function provides a pointer to an `XTFPROCESSINFO` structure when the function invokes an implemented [IXtfRunningProcessCallback::OnFoundProcess](https://docs.xbox.com/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfRunningProcessCallback/methods/ixtfrunningprocesscallback_onfoundprocess.md) 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)](https://docs.xbox.com/tools/tools-console/commandlinetools/xbtlist.md).

## Requirements

**Header:** xtfconsolecontrol.h

**Library:** xtfconsolecontrol.lib

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

## See also

[XtfConsoleControl](https://docs.xbox.com/reference/tools/xtf/xtfconsolecontrol/xtfconsolecontrol_members.md)\
[XBOX Tools Framework native API reference](https://docs.xbox.com/reference/tools/xtf/atoc-xtf-native.md)


## Related topics

- [OnFoundProcess](https://docs.xbox.com/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfRunningProcessCallback/methods/ixtfrunningprocesscallback_onfoundprocess.md)
- [XtfConsoleControl (API contents)](https://docs.xbox.com/reference/tools/xtf/xtfconsolecontrol/xtfconsolecontrol_members.md)
- [GetRunningProcesses](https://docs.xbox.com/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/methods/ixtfconsolecontrolclient_getrunningprocesses.md)
