.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH PathFileExistsDefExtA 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBPathFileExistsDefExtA\fR (SHLWAPI.3) .SH SYNOPSIS BOOL PathFileExistsDefExtA ( LPSTR \fIlpszPath\fR, DWORD \fIdwWhich\fR ) .SH DESCRIPTION .PP Determine if a file exists locally and is of an executable type. .SH PARAMS \fIlpszPath\fR \fB[In/Out]\fR File to search for. .PP \fIdwWhich\fR \fB[In]\fR Type of executable to search for. .PP .SH RETURNS .PP \fBTRUE\fR If the file was found. \fIlpszPath\fR contains the file name. \fBFALSE\fR Otherwise. .SH NOTES .PP \fIlpszPath\fR is modified in place and must be at least \fBMAX_PATH\fR in length. If the function returns \fBFALSE\fR, the path is modified to its original state. If the given path contains an extension or \fIdwWhich\fR is \fB0\fR, executable extensions are not checked. .PP Ordinals \fB3-6\fR are a classic case of Microsoft(tm) exposing limited functionality to users (here through \fBPathFindOnPathA(3w)\fR) and keeping advanced functionality for their own developers exclusive use. Monopoly, anyone? .SH IMPLEMENTATION .PP Exported by ordinal only. Use \fBGetProcAddress(3w)\fR to obtain a pointer to the function. .PP Implemented in \fB"dlls/shlwapi/path.c"\fR. .PP Debug channel \fB"shell"\fR.