PathIsDirectoryA (SHLWAPI.@)
BOOL PathIsDirectoryA ( LPCSTR lpszPath )
Determine if a path is a valid directory.
lpszPath | [In] | Path to check. |
FILE_ATTRIBUTE_DIRECTORY if lpszPath exists and can be read (See Notes) FALSE if lpszPath is invalid or not a directory.
Although this function is prototyped as returning a BOOL, it returns FILE_ATTRIBUTE_DIRECTORY for success. This means that code such as:
if (PathIsDirectoryA("c:\\windows\\") == TRUE) ...
will always fail.
Declared in "include/shlwapi.h". gitlab.winehq.org/wine/wine/blob/master/include/shlwapi.h
Implemented in "dlls/shlwapi/path.c". gitlab.winehq.org/wine/wine/blob/master/dlls/shlwapi/path.c
Debug channel "shell".
Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Nov 2024.