Group: Shell Lightweight Utility APIs -- Path Functions - Library: shlwapi
Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)
BOOL PathIsRelative(
LPCTSTR lpszPath
);
DECLARE INTEGER PathIsRelative IN shlwapi;
STRING pszPath
lpszPath [in] Pointer to a null-terminated string of maximum length MAX_PATH that contains the path to search.
Returns TRUE if the path is relative, or FALSE if it is absolute.