Shell32PathGetShortPath Method

Retrieves the short path form of a specified input path.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Shell32.dll", CharSet = CharSet.Auto, BestFitMapping = false, 
	ExactSpelling = true, ThrowOnUnmappableChar = true, SetLastError = true)]
public static void PathGetShortPath(
	StringBuilder longPath
)

Parameters

longPath  StringBuilder
A pointer to a null-terminated, Unicode string that contains the long path.

When the function returns, it contains the equivalent short path.

Remarks

See Also