fixed a bug of Screenshot on win7

This commit is contained in:
NaBian committed 2020-04-18 23:22:39 +08:00
1 parent dc64d5cacb
commit f4087574c0
11 files changed
+850 -450

No files matched your search

@@ -1,6 +1,6 @@
using System;
using System.Runtime.InteropServices;
using HandyControl.Tools;
using HandyControl.Tools.Interop;
namespace HandyControl.Data
{
@@ -85,7 +85,7 @@ namespace HandyControl.Data
GifPropertyItemInternal propcopy = null;
try
{
propcopy = (GifPropertyItemInternal) ExternDllHelper.PtrToStructure(propdata,
propcopy = (GifPropertyItemInternal) InteropMethods.PtrToStructure(propdata,
typeof(GifPropertyItemInternal));
props[i] = new GifPropertyItem