Last updated 1 year ago
[DllImport("shell32.dll")] public static extern IntPtr ILFindLastID( IntPtr pidl );
Microsoft documentation: