.
C# Signature:
[DllImport("shlwapi.dll", CharSet=CharSet.Auto)]
static extern bool PathCompactPath(IntPtr hDC, [In, Out] StringBuilder pszPath, int dx);
VB Signature:
Declare Function PathCompactPath Lib "shlwapi.dll" (TODO) As TODO
User-Defined Types:
None.
Notes:
If you do not have a HDC available, take a look at PathCompactPathEx
Tips & Tricks:
Please add some!
Sample Code:
Please add some!
Alternative Managed API:
Do you know one? Please contribute it!
Truncates a path to fit within a certain number of characters by replacing path components with ellipses.
5/13/2015 10:23:23 AM - -92.27.131.29
