Group: Shell Functions - Library: shell32
int SHCreateDirectory(
HWND hwnd,
LPCWSTR pszPath
); DECLARE INTEGER SHCreateDirectory IN shell32;
INTEGER hwnd,;
STRING pszPath
hwnd [in] Handle to a parent window. This parameter can be set to NULL if no user interface is displayed.
pszPath [in] Pointer to a NULL-terminated Unicode string that contains the fully-qualified path of the directory.
Returns ERROR_SUCCESS (0) if successful.
For setting security attributes on a new folder, use SHCreateDirectoryEx.
This function creates directory even if one or more intermediate directories on the path do not exist.
See also: CreateDirectory.
Home