Skip to main content

IXtfFileIOClient::FindFiles Method

Searches for files on a development console.

Syntax

Parameters

pszSearchPattern
Type: LPCWSTR
Pointer to the search pattern that defines the filenames of the source files to search for.
This parameter accepts wildcard characters to match strings with the indicated pattern.
dwIncludeAttributes
Type: DWORD
Bitwise-OR combination of file attributes to include for the search. See File Attribute Constants for a list of possible attributes. dwExcludeAttributes
Type: DWORD
Bitwise-OR combination of file attributes to exclude from the search. See File Attribute Constants for a list of possible attributes. dwRecursionLevels
Type: DWORD
Number of directory levels to recurse for the search. dwFlags
Type: DWORD
Bitwise-OR combination of flags that specify how to search for the files. pCallback
Type: IXtfFindFileCallback *
Pointer to the IXtfFindFileCallback callback to call when files are found.

Return value

Type: HRESULT HRESULT success or error code.

Requirements

Header: xtffileio.h Library: xtffileio.lib Supported platforms: Windows (for XBOX console tools)

Remarks

When finding files dwIncludeAttributes and dwExcludeAttributes act as filters on which files are returned, it does not act as a filter on which file attributes are returned when finding files. The IXtfFindFileCallback’s onfindfile function call will be called for each file being returned. The callback function will return information about each file found. The returned information can be used to return progress information.

See also

IXtfFileIOClient Interface
XtfFileIO
IXtfFindFileCallback
Last modified on August 20, 2026