Group: Shell Lightweight Utility APIs -- Path Functions - Library: shlwapi
Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)
Reading the structure of VFP main menu
BOOL PathFileExists(
LPCTSTR pszPath
); DECLARE INTEGER PathFileExists IN shlwapi;
STRING pszPath pszPath [in] Pointer to a null-terminated string of maximum length MAX_PATH that contains the full path of the object to verify.
Returns TRUE if the file exists, or FALSE otherwise. Call GetLastError for extended error information.
Home