void (@NotNull JFrame frame, WinDef.HICON icon, boolean dispose) { if (!ourInitialized) { return; } mySetOverlayIcon.invokeInt(new Object[]{myInterfacePointer, getHandle(frame), icon, Pointer.NULL}); if (dispose) { User32.INSTANCE.DestroyIcon(icon); } }