Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 933 Bytes

PathIsURL.md

File metadata and controls

41 lines (28 loc) · 933 Bytes

Home

Function name : PathIsURL

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


Tests a given string to determine if it conforms to a valid URL format.


Code examples:

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

Declaration:

BOOL PathIsURL(
    LPCTSTR pszPath
);  

FoxPro declaration:

DECLARE INTEGER PathIsURL IN shlwapi;
	STRING pszPath  

Parameters:

pszPath [in] Pointer to a null-terminated string of maximum length MAX_PATH that contains the URL path to validate.


Return value:

Returns TRUE if pszPath has a valid URL format, or FALSE otherwise.