Shell32ILCombineIntPtr Method

Combines two ITEMIDLIST structures.

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", EntryPoint = "ILCombine", SetLastError = true)]
public static IntPtr ILCombineIntPtr(
	IntPtr pidlParent,
	IntPtr pidlChild
)

Parameters

pidlParent  IntPtr
A pointer to the first ITEMIDLIST structure.
pidlChild  IntPtr
A pointer to the second ITEMIDLIST structure.

This structure is appended to the structure pointed to by pidlParent.

Return Value

IntPtr
Returns an ITEMIDLIST containing the combined structures.

If you set either pidlParent or pidlChild to Zero, the returned ITEMIDLIST structure is a clone of the non-NULL parameter.

Returns NULL if pidlParent and pidlChild are both set to Zero.

Remarks

See Also