[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
static extern bool PathCompactPath(IntPtr hDC, [In, Out] StringBuilder pszPath, int dx);
<DllImport("shlwapi.dll", CharSet:=CharSet.Auto)> _
Public Shared Function PathCompactPath( _
ByVal hDC As IntPtr, _
ByVal lpszPath As String, _
ByVal dx As Int32 _
) As Boolean
End Function
None.
If you do not have a HDC available, take a look at PathCompactPathEx
Please add some!
Please add some!
Do you know one? Please contribute it!