LookupIconIdFromDirectory

[DllImport("user32.dll", SetLastError = true)]
public static extern int LookupIconIdFromDirectory(
   IntPtr presbits,
   bool fIcon
);

Microsoft documentation: Link

Last updated