NAME

SHCreateDirectory  (SHELL32.165)

SYNOPSIS

 DWORD SHCreateDirectory
 (
  HWND    hWnd,
  LPCVOID path
 )

DESCRIPTION

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 too long to process.

NOTES

exported by ordinal Win9x exports ANSI WinNT/2000 exports Unicode

IMPLEMENTATION

Declared in "shlobj.h". https://source.winehq.org/source/include/shlobj.h

Implemented in "dlls/shell32/shlfileop.c". https://source.winehq.org/source/dlls/shell32/shlfileop.c

Debug channel "shell".


Copyright © 2021 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Oct 2021.