PathFileExistsDefExtA (SHLWAPI.3)
BOOL PathFileExistsDefExtA ( LPSTR lpszPath, DWORD dwWhich )
Determine if a file exists locally and is of an executable type.
lpszPath | [In/Out] | File to search for. |
dwWhich | [In] | Type of executable to search for. |
TRUE If the file was found. lpszPath contains the file name. FALSE Otherwise.
lpszPath is modified in place and must be at least MAX_PATH in length. If the function returns FALSE, the path is modified to its original state. If the given path contains an extension or dwWhich is 0, executable extensions are not checked.
Ordinals 3-6 are a classic case of Microsoft® exposing limited functionality to users (here through PathFindOnPathA) and keeping advanced functionality for their own developers exclusive use. Monopoly, anyone?
Exported by ordinal only. Use GetProcAddress to obtain a pointer to the function.
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.