Skip to main content

IXtfFileIOClient::CreateDirectory Method

Creates the specified directory on the development console.

Syntax

Parameters

pszDirectory
Type: LPCWSTR
Pointer to the directory path to the directory to create on the development console.

Return value

Type: HRESULT Returns S_OK if successful; otherwise, returns an HRESULT error code.

Remarks

This function creates 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). Use the IXtfFileIOClient::RemoveDirectory method to remove a directory on the development console.

Requirements

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

See also

IXtfFileIOClient Interface
XtfFileIO
Last modified on August 20, 2026