public override unsafe void Push() { fixed(byte *p = _image.Pixels) { DllImports.SetIcon(new DllImports.ImageData { id = (int)_type, pixels = p, width = _image.Width, height = _image.Height, format = (int)_image.Format }); } }
public override unsafe void Push() { fixed(byte *p = _image.Pixels) { DllImports.SetIcon(new DllImports.ImageData { id = (int)_type, pixels = p, width = _image.Width, height = _image.Height, format = (int)_image.Format }); } }