Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 920 Bytes

PathIsRelative.md

File metadata and controls

41 lines (28 loc) · 920 Bytes

Home

Function name : PathIsRelative

Group: Shell Lightweight Utility APIs -- Path Functions - Library: shlwapi


Searches a path and determines if it is relative.


Code examples:

Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)

Declaration:

BOOL PathIsRelative(
    LPCTSTR lpszPath
);  

FoxPro declaration:

DECLARE INTEGER PathIsRelative IN shlwapi;
	STRING pszPath  

Parameters:

lpszPath [in] Pointer to a null-terminated string of maximum length MAX_PATH that contains the path to search.


Return value:

Returns TRUE if the path is relative, or FALSE if it is absolute.