Click or drag to resize

FolderCompareRelativeIdLists Method (IntPtr, IntPtr, SHCIDS, Boolean)

Determines the relative order of two file objects or folders, given their item identifier lists.

Namespace:  callback.ShellBoost.Core.WindowsShell
Assembly:  callback.CBFSShell (in callback.CBFSShell.dll) Version: 22.0.0.0
Syntax
C#
public int CompareRelativeIdLists(
	IntPtr relativePidl1,
	IntPtr relativePidl2,
	SHCIDS comparison = SHCIDS.SHCIDS_NONE,
	bool throwOnError = true
)

Parameters

relativePidl1
Type: SystemIntPtr
The first relative PIDL.
relativePidl2
Type: SystemIntPtr
The second relative PIDL.
comparison (Optional)
Type: callback.ShellBoost.Core.WindowsShellSHCIDS
Specifies how the comparison should be performed.
throwOnError (Optional)
Type: SystemBoolean
true to throw error; otherwise false.

Return Value

Type: Int32
A negative return value indicates that the first item should precede the second (relativePidl1 < relativePidl2). A positive return value indicates that the first item should follow the second (relativePidl1 > relativePidl2). A return value of zero indicates that the two items are the same (relativePidl1 = relativePidl2).
See Also