Shell32SHGetPathFromIDList Method

Converts an item identifier list to a file system 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, 
	ThrowOnUnmappableChar = true, SetLastError = true)]
public static bool SHGetPathFromIDList(
	IntPtr pidl,
	StringBuilder path
)

Parameters

pidl  IntPtr
The address of an item identifier list that specifies a file or directory location relative to the root of the namespace (the desktop).
path  StringBuilder
The address of a buffer to receive the file system path.

This buffer must be at least MAX_PATH characters in size.

Return Value

Boolean
if successful; otherwise, .

Remarks

See Also