ILRemoveLastID

[DllImport("shell32.dll")]
public static extern bool ILRemoveLastID(
   IntPtr pidl
);

Microsoft documentation: Link

Last updated