IXtfFileIOClient::RemoveDirectory Method

Deletes the specified directory from the development console.

Syntax

public:
HRESULT RemoveDirectory(
         LPCWSTR pszDirectory,
         DWORD dwFlags,
         IXtfFindFileCallback *pCallback
)  

Parameters

pszDirectory
Type: LPCWSTR 

Pointer to the directory path to the directory to delete from the development console.

dwFlags
Type: DWORD 

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

Value Macro Description
0x1 XTFREMOVEDIRECTORY_FORCE Force the directory deletion to occur, even if the directory contains files or subdirectories.
0x80000000 XTFDELETEFILE_DEFER Defer the directory deletion.

pCallback
Type: IXtfFindFileCallback *

Pointer to the IXtfFindFileCallback callback to call when a directory 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