SHCreateDirectory(3w)

SHCreateDirectory3w

Usage

DWORD SHCreateDirectory
(
HWND hWnd,
LPCVOID path
)

Overview

This function creates a file system folder whose fully qualified path is given by path. If one or more of the intermediate folders do not exist, they will be created as well.

Params

hWnd [In] .

path [In] path of directory to create.

Returns

ERROR_SUCCESS or one of the following values: ERROR_BAD_PATHNAME if the path is relative ERROR_FILE_EXISTS when a file with that name exists ERROR_PATH_NOT_FOUND can't find the path, probably invalid ERROR_INVALID_NAME if the path contains invalid chars ERROR_ALREADY_EXISTS when the directory already exists ERROR_FILENAME_EXCED_RANGE if the filename was to long to process.

Notes

exported by ordinal Win9x exports ANSI WinNT/2000 exports Unicode

Implementation

Declared in "shlobj.h".

Implemented in "dlls/shell32/shlfileop.c".

Debug channel "shell".

Releases

4 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.