Skip to content

Instantly share code, notes, and snippets.

@smourier
Last active February 3, 2024 10:40
Show Gist options
  • Save smourier/f1a917165d171030a6b44e1b0c4a9bb9 to your computer and use it in GitHub Desktop.
Save smourier/f1a917165d171030a6b44e1b0c4a9bb9 to your computer and use it in GitHub Desktop.
Load Nonloaded Overlay Identifiers
[STAThread]
static void Main()
{
var mgr = (IShellIconOverlayManager)new CLSID_CFSIconOverlayManager();
Console.WriteLine(mgr.LoadNonloadedOverlayIdentifiers());
}
[ComImport, Guid("63B51F81-C868-11D0-999C-00C04FD655E1")]
public class CLSID_CFSIconOverlayManager { };
[ComImport, Guid("f10b5e34-dd3b-42a7-aa7d-2f4ec54bb09b"), InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface IShellIconOverlayManager
{
void _0();
void _1();
void _2();
[PreserveSig]
int LoadNonloadedOverlayIdentifiers();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment