.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH PathIsDirectoryA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBPathIsDirectoryA\fR (SHLWAPI.@) .SH SYNOPSIS BOOL PathIsDirectoryA ( LPCSTR \fIlpszPath\fR ) .SH DESCRIPTION .PP Determine if a path is a valid directory. .SH PARAMS \fIlpszPath\fR \fB[In]\fR Path to check. .PP .SH RETURNS .PP \fBFILE_ATTRIBUTE_DIRECTORY\fR if \fIlpszPath\fR exists and can be read (See Notes) \fBFALSE\fR if \fIlpszPath\fR is invalid or not a directory. .SH NOTES .PP Although this function is prototyped as returning a \fBBOOL\fR, it returns \fBFILE_ATTRIBUTE_DIRECTORY\fR for success. This means that code such as: .br if (PathIsDirectoryA("c:\\windows\\") == TRUE) .br ... .PP will always fail. .SH IMPLEMENTATION .PP Declared in \fB"shlwapi.h"\fR. .PP Implemented in \fB"dlls/shlwapi/path.c"\fR. .PP Debug channel \fB"shell"\fR.