Group: Shell Lightweight Utility APIs -- Path Functions - Library: shlwapi
Using Path functions from Shell Lightweight Utility APIs (shlapi.dll)
BOOL PathIsURL(
LPCTSTR pszPath
);
DECLARE INTEGER PathIsURL IN shlwapi;
STRING pszPath
pszPath [in] Pointer to a null-terminated string of maximum length MAX_PATH that contains the URL path to validate.
Returns TRUE if pszPath has a valid URL format, or FALSE otherwise.