IXtfFileIOClient::RemoveDirectory Method
Deletes the specified directory from the development console.Syntax
Parameters
pszDirectoryType: 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.
pCallback
Type: IXtfFindFileCallback* Pointer to the IXtfFindFileCallback callback to call when a directory to delete is found.
Return value
Type: HRESULT ReturnsS_OK if successful; otherwise, returns an HRESULT error code.
Remarks
This function removes a directory on the development console. If an error occurs, this function returns an HRESULT error code. For more information about HRESULT error codes specific to XBOX Tools Framework (XTF) API, see XTF transport errors (NDA topic). If XTFREMOVEDIRECTORY_FORCE is specified and the directory to be removed contains files or subdirectories, the IXtfFindFileCallback::OnFoundFile callback function is invoked for each file and subdirectory in the directory to be removed. Information for each file and subdirectory in the directory is passed to the callback function, and that information can be used to track and display progress information.Requirements
Header: xtffileio.h Library: xtffileio.lib Supported platforms: Windows (for XBOX console tools)See also
IXtfFileIOClient::CreateDirectoryIXtfFileIOClient Interface
XtfFileIO
