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



PathCanonicalize

Canonicalizes a path.

VB4-32,5,6
Declare Function PathCanonicalize Lib "shlwapi.dll" Alias "PathCanonicalizeA" (ByVal pszBuf As String, ByVal pszPath As String) As Long

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

Library
Shlwapi

Parameter Information
- lpszDst
Address of a string that receives the canonicalized path. The size of this buffer should be set to MAX_PATH to ensure that it is large enough to hold the returned string..

- lpszSrc
Address of the path to be canonicalized.

Return Values
Returns TRUE if successful, or FALSE otherwise.

Last update: 07 April 2006