mirror of https://github.com/dahall/Vanara.git
Fixed formatting
parent
34ce9eeaec
commit
4a299e9742
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue