Shell32SHSimpleIDListFromPath Method

Note: This API is now obsolete.
Returns a pointer to an ITEMIDLIST structure when passed a 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)]
[ObsoleteAttribute("Deprecated.", false)]
public static PIDL SHSimpleIDListFromPath(
	string path
)

Parameters

path  String
A pointer to a null-terminated string that contains the path to be converted to a PIDL.

Return Value

PIDL
Returns a pointer to an ITEMIDLIST structure if successful, or NULL otherwise.

Remarks

See Also