Deletes the specified directory from the development console.
public:
HRESULT RemoveDirectory(
LPCWSTR pszDirectory,
DWORD dwFlags,
IXtfFindFileCallback *pCallback
)
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.
Type: HRESULT
HRESULT success or error code.
Header: Declared in xtffileio.h.
Library: Use xtffileio.lib.