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

# XtfCreateFileIOClient

> XtfCreateFileIOClient

# XtfCreateFileIOClient

Initializes a new instance of the [IXtfFileIOClient](/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/ixtffileioclient-xtffileio-xbox-microsoft-t) interface with the specified address.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
HRESULT XtfCreateFileIOClient(
         LPCWSTR pszAddress,
         REFIID riid,
         void **ppvObject
)  
```

<a id="ID4EL" />

### Parameters

*pszAddress*\
Type: LPCWSTR

Pointer to the tools IP address of the development console to use for the new [IXtfFileIOClient](/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/ixtffileioclient-xtffileio-xbox-microsoft-t).

*riid*\
Type: REFIID

Pointer that receives the instance identifier of the newly created [IXtfFileIOClient](/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/ixtffileioclient-xtffileio-xbox-microsoft-t).

*ppvObject*\
Type: void \*\*

\[out] Pointer that receives a reference to the newly created [IXtfFileIOClient](/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/ixtffileioclient-xtffileio-xbox-microsoft-t).

<a id="ID4ES" />

### Return value

Type: HRESULT

HRESULT success or error code.

<a id="requirements" />

## Remarks

This function creates an instance of the [IXtfFileIOClient](/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/ixtffileioclient-xtffileio-xbox-microsoft-t) interface. The file IO client handles all of the common file functions for XTFFileIO. These functions include finding, copying, creating, deleting, editing, and getting information for files and directories, on a development console.

## Requirements

**Header:** xtffileio.h

**Library:** xtffileio.lib

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

<a id="ID4EYB" />

## See also

<a id="ID4E1B" />

[XtfFileIO](/reference/tools/xtf/xtffileio/xtffileio-xbox-microsoft-n)\
[IXtfFileIOClient](/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/ixtffileioclient-xtffileio-xbox-microsoft-t)\
[IXtfBatchFileIOClient](/reference/tools/xtf/xtffileio/classes/IXtfBatchFileIOClient/ixtfbatchfileioclient-xtffileio-xbox-microsoft-t)


## Related topics

- [IXtfFileIOClient::CreateDirectory Method](/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/createdirectory-ixtffileioclient-xtffileio-xbox-microsoft-m.md)
- [IXtfFileIOClient::RemoveDirectory Method](/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/removedirectory-ixtffileioclient-xtffileio-xbox-microsoft-m.md)
- [IXtfFileIOClient::FindFiles Method](/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/findfiles-ixtffileioclient-xtffileio-xbox-microsoft-m.md)
- [IXtfFileIOClient::CopyFiles Method](/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/copyfiles-ixtffileioclient-xtffileio-xbox-microsoft-m.md)
- [IXtfFileIOClient::DeleteFiles Method](/reference/tools/xtf/xtffileio/classes/IXtfFileIOClient/methods/deletefiles-ixtffileioclient-xtffileio-xbox-microsoft-m.md)
