A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



PathCreateFromUrl

Takes a file URL and converts it to a DOS path.

VB4-32,5,6
Private Declare Sub PathCreateFromUrl Lib "shlwapi.dll" Alias "PathCreateFromUrlA" (ByVal pszUrl As String, ByVal pszPath As String, ByRef pcchPath As Long, ByVal dwFlags As Long)

Operating Systems Supported
Requires Windows 2000 (or Windows NT 4.0 with Internet Explorer 5.0 or later); Requires Windows 98 (or Windows 95 with Internet Explorer 5.0 or later)

Library
Shlwapi

Parameter Information
- pszUrl
Pointer to the string with the URL.

- pszPath
Value used to return the DOS path. The size of this buffer should be set to MAX_PATH to ensure that it is large enough to hold the returned string.

- pcchPath
Length of pszPath.

- dwReserved
Reserved. Set this parameter to NULL.

Return Values
Returns S_OK if successful, or a standard OLE error value otherwise

Last update: 07 April 2006