Fixed formatting

pull/395/head
David Hall 2023-05-01 16:40:14 -06:00
parent 34ce9eeaec
commit 4a299e9742
1 changed files with 1 additions and 7 deletions

View File

@ -1819,13 +1819,7 @@ namespace Vanara.PInvoke
internal class ClipboardHDROPFormatter : IClipboardFormatter
{
public object Read(IntPtr hGlobal)
{
return DROPFILES.DangerousGetFileList(hGlobal);
//SafeMoveableHGlobalHandle h = new(hGlobal, false);
//DROPFILES df = h.ToStructure<DROPFILES>();
//return h.ToStringEnum(df.fWide ? CharSet.Unicode : CharSet.Ansi, Marshal.SizeOf(typeof(DROPFILES))).ToArray();
}
public object Read(IntPtr hGlobal) => DROPFILES.DangerousGetFileList(hGlobal);
public IntPtr Write(object value) => Write(value, Marshal.SystemDefaultCharSize != 1);