Click or drag to resize

ShellItemIdListFromPointer Method

Builds a PIDL from a native pointer.

Namespace:  callback.ShellBoost.Core
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.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