Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates the specified directory on the development console.
Syntax
public:
HRESULT CreateDirectory(
LPCWSTR pszDirectory
)
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)Authorization required.
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)