XtfCreateFileIOClient

Initializes a new instance of the IXtfFileIOClient interface with the specified address.

Syntax

HRESULT XtfCreateFileIOClient(
         LPCWSTR pszAddress,
         REFIID riid,
         void **ppvObject
)  

Parameters

pszAddress
Type: LPCWSTR

Pointer to the tools IP address of the development console to use for the new IXtfFileIOClient.

riid
Type: REFIID

Pointer that receives the instance identifier of the newly created IXtfFileIOClient.

ppvObject
Type: void **

[out] Pointer that receives a reference to the newly created IXtfFileIOClient.

Return value

Type: HRESULT

HRESULT success or error code.

Remarks

This function creates an instance of the IXtfFileIOClient 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)

See also

XtfFileIO
IXtfFileIOClient
IXtfBatchFileIOClient