PathIsDirectoryA(3w)
NAME
PathIsDirectoryA (SHLWAPI.@)
SYNOPSIS
BOOL PathIsDirectoryA
(
LPCSTR lpszPath
)
DESCRIPTION
Determine if a path is a valid directory.
PARAMS
lpszPath [In] Path to check.
RETURNS
FILE_ATTRIBUTE_DIRECTORY if lpszPath exists and can be read (See Notes) FALSE if lpszPath is invalid or not a directory.
NOTES
- 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.
IMPLEMENTATION
Defined in "shlwapi.h".
Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/shlwapi/path.c".
- Debug channel "shell".