ILFindLastID

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

Microsoft documentation: Link

Last updated