IXtfFileIOClient::DeleteFiles Method

Deletes files from the development console.

Syntax

public:
HRESULT DeleteFiles(
         LPCWSTR pszSearchPattern,
         DWORD dwIncludeAttributes,
         DWORD dwExcludeAttributes,
         DWORD dwRecursionLevels,
         DWORD dwFlags,
         IXtfFindFileCallback *pCallback
)  

Parameters

pszSearchPattern
Type: LPCWSTR 

Pointer to the search pattern that defines the filenames of the files to delete.

dwIncludeAttributes
Type: DWORD 

Bitwise-OR combination of file attributes to include for the delete.

dwExcludeAttributes
Type: DWORD 

Bitwise-OR combination of file attributes to exclude from the delete.

dwRecursionLevels
Type: DWORD 

Number of directory levels to recurse for the delete.

dwFlags
Type: DWORD 

Flags that specify how to delete the files. This is a bitwise-OR combination of the macros listed in the following table.

Value Macro Description
0x80000000 XTFDELETEFILE_DEFER Defer the file deletion.

pCallback
Type: IXtfFindFileCallback *

Pointer to the IXtfFindFileCallback callback to call when a file to delete is found.

Return value

Type: HRESULT 

HRESULT success or error code.

Requirements

Header: Declared in xtffileio.h.

Library: Use xtffileio.lib.

See also

Reference

IXtfFileIOClient Interface

IXtfFileIOClient Members

XtfFileIO