CoreShellFolderCompareIds Method (Int64, IntPtr, IntPtr, Boolean) |
Determines the relative order of two file objects or folders.
Namespace:
ShellBoost.Core.WindowsShell
Assembly:
ShellBoost.Core (in ShellBoost.Core.dll) Version: 1.8.3.0
Syntax public int CompareIds(
long lParam,
IntPtr pidl1,
IntPtr pidl2,
bool throwOnError = true
)
Parameters
- lParam
- Type: SystemInt64
Specifies how the comparison should be performed. - pidl1
- Type: SystemIntPtr
The first PIDL. - pidl2
- Type: SystemIntPtr
The second PIDL. - throwOnError (Optional)
- Type: SystemBoolean
true to throw error; otherwise false.
Return Value
Type:
Int32A negative value indicates that the first item should precede the second, a positive return value indicates that the first item should follow the second and zero indicates that the two items are the same.
See Also