public ICursorImpl CreateCursor(IBitmapImpl cursor, PixelPoint hotSpot)
        {
            using var source = LoadSystemDrawingBitmap(cursor);
            using var mask   = AlphaToMask(source);

            var info = new UnmanagedMethods.ICONINFO
            {
                IsIcon      = false,
                xHotspot    = hotSpot.X,
                yHotspot    = hotSpot.Y,
                MaskBitmap  = mask.GetHbitmap(),
                ColorBitmap = source.GetHbitmap(),
            };

            return(new CursorImpl(UnmanagedMethods.CreateIconIndirect(ref info), true));
        }