Shell32ILCloneFirst Method

Clones the first SHITEMID structure in an ITEMIDLIST structure.

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", ExactSpelling = true, SetLastError = true)]
public static PIDL ILCloneFirst(
	IntPtr pidl
)

Parameters

pidl  IntPtr
A pointer to the ITEMIDLIST structure that you want to clone.

Return Value

PIDL
A pointer to an ITEMIDLIST structure that contains the first SHITEMID structure from the ITEMIDLIST structure specified by pidl.

Returns NULL on failure.

Remarks

See Also