27 references to IDropSource
System.Private.Windows.Core (22)
Windows.Win32.IDropSource.g.cs (19)
26
:IVTable<
IDropSource
,
IDropSource
.Vtbl>,IComIID {
42
return ((delegate *unmanaged [Stdcall]<
IDropSource
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IDropSource
*)Unsafe.AsPointer(ref this), riid, ppvObject);
47
return ((delegate *unmanaged [Stdcall]<
IDropSource
*,uint>)lpVtbl[1])((
IDropSource
*)Unsafe.AsPointer(ref this));
52
return ((delegate *unmanaged [Stdcall]<
IDropSource
*,uint>)lpVtbl[2])((
IDropSource
*)Unsafe.AsPointer(ref this));
58
private static winmdroot.Foundation.HRESULT QueryContinueDrag(
IDropSource
* pThis, winmdroot.Foundation.BOOL fEscapePressed, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState)
85
return ((delegate *unmanaged [Stdcall]<
IDropSource
*,winmdroot.Foundation.BOOL ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IDropSource
*)Unsafe.AsPointer(ref this), fEscapePressed, grfKeyState);
91
private static winmdroot.Foundation.HRESULT GiveFeedback(
IDropSource
* pThis, winmdroot.System.Ole.DROPEFFECT dwEffect)
121
return ((delegate *unmanaged [Stdcall]<
IDropSource
*,winmdroot.System.Ole.DROPEFFECT ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IDropSource
*)Unsafe.AsPointer(ref this), dwEffect);
145
internal delegate *unmanaged [Stdcall]<
IDropSource
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
147
internal delegate *unmanaged [Stdcall]<
IDropSource
*,uint> AddRef_2;
149
internal delegate *unmanaged [Stdcall]<
IDropSource
*,uint> Release_3;
151
internal delegate *unmanaged [Stdcall]<
IDropSource
*,winmdroot.Foundation.BOOL ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.HRESULT> QueryContinueDrag_4;
153
internal delegate *unmanaged [Stdcall]<
IDropSource
*,winmdroot.System.Ole.DROPEFFECT ,winmdroot.Foundation.HRESULT> GiveFeedback_5;
Windows.Win32.PInvokeCore.OLE32.dll.g.cs (3)
73
/// <inheritdoc cref="DoDragDrop(winmdroot.System.Com.IDataObject*, winmdroot.System.Ole.
IDropSource
*, winmdroot.System.Ole.DROPEFFECT, winmdroot.System.Ole.DROPEFFECT*)"/>
75
internal static unsafe winmdroot.Foundation.HRESULT DoDragDrop(winmdroot.System.Com.IDataObject* pDataObj, winmdroot.System.Ole.
IDropSource
* pDropSource, winmdroot.System.Ole.DROPEFFECT dwOKEffects, out winmdroot.System.Ole.DROPEFFECT pdwEffect)
101
internal static extern unsafe winmdroot.Foundation.HRESULT DoDragDrop(winmdroot.System.Com.IDataObject* pDataObj, winmdroot.System.Ole.
IDropSource
* pDropSource, winmdroot.System.Ole.DROPEFFECT dwOKEffects, winmdroot.System.Ole.DROPEFFECT* pdwEffect);
System.Windows.Forms (5)
System\Windows\Forms\Control.cs (1)
4969
using var dropSource = ComHelpers.GetComScope<
IDropSource
>(
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (2)
2198
using var dropSource = ComHelpers.GetComScope<
IDropSource
>(CreateDropSource(dataObject, dragImage, cursorOffset, useDefaultDragImage));
2224
internal
IDropSource
.Interface CreateDropSource(IComVisibleDataObject dataObject, Bitmap? dragImage, Point cursorOffset, bool useDefaultDragImage)
System\Windows\Forms\OLE\DropSource.cs (2)
12
internal class DropSource :
IDropSource
.Interface, IDropSourceNotify.Interface, IManagedWrapper<
IDropSource
, IDropSourceNotify>