|
|
@@ -1335,25 +1335,7 @@ namespace Avalonia.Win32.Interop
|
|
|
Scroll = -2147483648,
|
|
|
}
|
|
|
|
|
|
- [InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
|
|
- [Guid("0000010E-0000-0000-C000-000000000046")]
|
|
|
- [ComImport]
|
|
|
- internal interface IOleDataObject
|
|
|
- {
|
|
|
- void GetData([In] ref FORMATETC format, out STGMEDIUM medium);
|
|
|
- void GetDataHere([In] ref FORMATETC format, ref STGMEDIUM medium);
|
|
|
- [PreserveSig]
|
|
|
- int QueryGetData([In] ref FORMATETC format);
|
|
|
- [PreserveSig]
|
|
|
- int GetCanonicalFormatEtc([In] ref FORMATETC formatIn, out FORMATETC formatOut);
|
|
|
- void SetData([In] ref FORMATETC formatIn, [In] ref STGMEDIUM medium, [MarshalAs(UnmanagedType.Bool)] bool release);
|
|
|
- IEnumFORMATETC EnumFormatEtc(DATADIR direction);
|
|
|
- [PreserveSig]
|
|
|
- int DAdvise([In] ref FORMATETC pFormatetc, ADVF advf, IAdviseSink adviseSink, out int connection);
|
|
|
- void DUnadvise(int connection);
|
|
|
- [PreserveSig]
|
|
|
- int EnumDAdvise(out IEnumSTATDATA enumAdvise);
|
|
|
- }
|
|
|
+
|
|
|
|
|
|
[ComImport]
|
|
|
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
|
|
|
@@ -1361,12 +1343,12 @@ namespace Avalonia.Win32.Interop
|
|
|
internal interface IDropTarget
|
|
|
{
|
|
|
[PreserveSig]
|
|
|
- UnmanagedMethods.HRESULT DragEnter([MarshalAs(UnmanagedType.Interface)] [In] IOleDataObject pDataObj, [MarshalAs(UnmanagedType.U4)] [In] int grfKeyState, [MarshalAs(UnmanagedType.U8)] [In] long pt, [In] [Out] ref DropEffect pdwEffect);
|
|
|
+ UnmanagedMethods.HRESULT DragEnter([MarshalAs(UnmanagedType.Interface)] [In] IDataObject pDataObj, [MarshalAs(UnmanagedType.U4)] [In] int grfKeyState, [MarshalAs(UnmanagedType.U8)] [In] long pt, [In] [Out] ref DropEffect pdwEffect);
|
|
|
[PreserveSig]
|
|
|
UnmanagedMethods.HRESULT DragOver([MarshalAs(UnmanagedType.U4)] [In] int grfKeyState, [MarshalAs(UnmanagedType.U8)] [In] long pt, [In] [Out] ref DropEffect pdwEffect);
|
|
|
[PreserveSig]
|
|
|
UnmanagedMethods.HRESULT DragLeave();
|
|
|
[PreserveSig]
|
|
|
- UnmanagedMethods.HRESULT Drop([MarshalAs(UnmanagedType.Interface)] [In] IOleDataObject pDataObj, [MarshalAs(UnmanagedType.U4)] [In] int grfKeyState, [MarshalAs(UnmanagedType.U8)] [In] long pt, [In] [Out] ref DropEffect pdwEffect);
|
|
|
+ UnmanagedMethods.HRESULT Drop([MarshalAs(UnmanagedType.Interface)] [In] IDataObject pDataObj, [MarshalAs(UnmanagedType.U4)] [In] int grfKeyState, [MarshalAs(UnmanagedType.U8)] [In] long pt, [In] [Out] ref DropEffect pdwEffect);
|
|
|
}
|
|
|
}
|