Click or drag to resize

ShellItemIdListFromPointer Method

Builds a PIDL from a native pointer.

Namespace:  ShellBoost.Core
Assembly:  ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax
C#
public static ShellItemIdList FromPointer(
	IntPtr pidl,
	int pidlSize = 2147483647,
	bool freePidl = false
)

Parameters

pidl
Type: SystemIntPtr
The PIDL.
pidlSize (Optional)
Type: SystemInt32
The PIDL full size.
freePidl (Optional)
Type: SystemBoolean
if set to true the PIDL will be freed using Marshal.FreeCoTaskMem.

Return Value

Type: ShellItemIdList
An instance of the ShellItemIdList type or null.
Exceptions
ExceptionCondition
ArgumentExceptionpidlSize is invalid.
See Also