ILIsEqual

[DllImport("shell32.dll")]
public static extern bool ILIsEqual(
   IntPtr pidl1,
   IntPtr pidl2
);

Microsoft documentation: Link

Last updated