56 references to IDropTarget
System.Private.Windows.Core (37)
Windows.Win32.IDropTarget.g.cs (27)
26
:IVTable<
IDropTarget
,
IDropTarget
.Vtbl>,IComIID {
42
return ((delegate *unmanaged [Stdcall]<
IDropTarget
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IDropTarget
*)Unsafe.AsPointer(ref this), riid, ppvObject);
47
return ((delegate *unmanaged [Stdcall]<
IDropTarget
*,uint>)lpVtbl[1])((
IDropTarget
*)Unsafe.AsPointer(ref this));
52
return ((delegate *unmanaged [Stdcall]<
IDropTarget
*,uint>)lpVtbl[2])((
IDropTarget
*)Unsafe.AsPointer(ref this));
68
private static winmdroot.Foundation.HRESULT DragEnter(
IDropTarget
* pThis, winmdroot.System.Com.IDataObject* pDataObj, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, winmdroot.System.Ole.DROPEFFECT* pdwEffect)
101
return ((delegate *unmanaged [Stdcall]<
IDropTarget
*,winmdroot.System.Com.IDataObject* ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.POINTL ,winmdroot.System.Ole.DROPEFFECT* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IDropTarget
*)Unsafe.AsPointer(ref this), pDataObj, grfKeyState, pt, pdwEffect);
117
private static winmdroot.Foundation.HRESULT DragOver(
IDropTarget
* pThis, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, winmdroot.System.Ole.DROPEFFECT* pdwEffect)
149
return ((delegate *unmanaged [Stdcall]<
IDropTarget
*,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.POINTL ,winmdroot.System.Ole.DROPEFFECT* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IDropTarget
*)Unsafe.AsPointer(ref this), grfKeyState, pt, pdwEffect);
155
private static winmdroot.Foundation.HRESULT DragLeave(
IDropTarget
* pThis)
184
return ((delegate *unmanaged [Stdcall]<
IDropTarget
*,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IDropTarget
*)Unsafe.AsPointer(ref this));
200
private static winmdroot.Foundation.HRESULT Drop(
IDropTarget
* pThis, winmdroot.System.Com.IDataObject* pDataObj, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, winmdroot.System.Ole.DROPEFFECT* pdwEffect)
233
return ((delegate *unmanaged [Stdcall]<
IDropTarget
*,winmdroot.System.Com.IDataObject* ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.POINTL ,winmdroot.System.Ole.DROPEFFECT* ,winmdroot.Foundation.HRESULT>)lpVtbl[6])((
IDropTarget
*)Unsafe.AsPointer(ref this), pDataObj, grfKeyState, pt, pdwEffect);
257
internal delegate *unmanaged [Stdcall]<
IDropTarget
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
259
internal delegate *unmanaged [Stdcall]<
IDropTarget
*,uint> AddRef_2;
261
internal delegate *unmanaged [Stdcall]<
IDropTarget
*,uint> Release_3;
263
internal delegate *unmanaged [Stdcall]<
IDropTarget
*,winmdroot.System.Com.IDataObject* ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.POINTL ,winmdroot.System.Ole.DROPEFFECT* ,winmdroot.Foundation.HRESULT> DragEnter_4;
265
internal delegate *unmanaged [Stdcall]<
IDropTarget
*,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.POINTL ,winmdroot.System.Ole.DROPEFFECT* ,winmdroot.Foundation.HRESULT> DragOver_5;
267
internal delegate *unmanaged [Stdcall]<
IDropTarget
*,winmdroot.Foundation.HRESULT> DragLeave_6;
269
internal delegate *unmanaged [Stdcall]<
IDropTarget
*,winmdroot.System.Com.IDataObject* ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.POINTL ,winmdroot.System.Ole.DROPEFFECT* ,winmdroot.Foundation.HRESULT> Drop_7;
Windows.Win32.PInvokeCore.OLE32.dll.g.cs (1)
228
internal static extern unsafe winmdroot.Foundation.HRESULT RegisterDragDrop(winmdroot.Foundation.HWND hwnd, winmdroot.System.Ole.
IDropTarget
* pDropTarget);
Windows.Win32.System_Ole_IDropTarget_Extensions.g.cs (6)
23
/// <inheritdoc cref="winmdroot.System.Ole.
IDropTarget
.Interface.DragEnter(winmdroot.System.Com.IDataObject*, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS, winmdroot.Foundation.POINTL, winmdroot.System.Ole.DROPEFFECT*)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT DragEnter(this winmdroot.System.Ole.
IDropTarget
.Interface @this, winmdroot.System.Com.IDataObject* pDataObj, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, ref winmdroot.System.Ole.DROPEFFECT pdwEffect)
33
/// <inheritdoc cref="winmdroot.System.Ole.
IDropTarget
.Interface.DragOver(winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS, winmdroot.Foundation.POINTL, winmdroot.System.Ole.DROPEFFECT*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT DragOver(this winmdroot.System.Ole.
IDropTarget
.Interface @this, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, ref winmdroot.System.Ole.DROPEFFECT pdwEffect)
43
/// <inheritdoc cref="winmdroot.System.Ole.
IDropTarget
.Interface.Drop(winmdroot.System.Com.IDataObject*, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS, winmdroot.Foundation.POINTL, winmdroot.System.Ole.DROPEFFECT*)"/>
44
internal static unsafe winmdroot.Foundation.HRESULT Drop(this winmdroot.System.Ole.
IDropTarget
.Interface @this, winmdroot.System.Com.IDataObject* pDataObj, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, ref winmdroot.System.Ole.DROPEFFECT pdwEffect)
Windows\Win32\PInvokeCore.RegisterDragDrop.cs (3)
10
/// <inheritdoc cref="RegisterDragDrop(HWND,
IDropTarget
*)"/>
11
public static unsafe HRESULT RegisterDragDrop<T>(T hwnd,
IDropTarget
.Interface pDropTarget)
14
using var dropTarget = ComHelpers.TryGetComScope<
IDropTarget
>(pDropTarget, out HRESULT hr);
System.Windows.Forms (10)
System\Windows\Forms\Controls\WebBrowser\WebBrowser.WebBrowserSite.cs (3)
8
using OleIDropTarget = Windows.Win32.System.Ole.
IDropTarget
;
137
HRESULT IDocHostUIHandler.GetDropTarget(
OleIDropTarget
.Interface pDropTarget, out
OleIDropTarget
.Interface? ppDropTarget)
System\Windows\Forms\OLE\DropTarget.cs (7)
9
using OleIDropTarget = Windows.Win32.System.Ole.
IDropTarget
;
13
internal unsafe class DropTarget :
OleIDropTarget
.Interface, IManagedWrapper<
OleIDropTarget
>
106
HRESULT
OleIDropTarget
.Interface.DragEnter(Com.IDataObject* pDataObj, MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect)
135
HRESULT
OleIDropTarget
.Interface.DragOver(MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect)
162
HRESULT
OleIDropTarget
.Interface.DragLeave()
175
HRESULT
OleIDropTarget
.Interface.Drop(Com.IDataObject* pDataObj, MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect)
System.Windows.Forms.Primitives (7)
Interop\Mshtml\Interop.IDocHostUIHandler.cs (2)
75
IDropTarget
.Interface pDropTarget,
76
out
IDropTarget
.Interface? ppDropTarget);
Windows.Win32.IOleInPlaceObjectWindowless.g.cs (5)
277
private static winmdroot.Foundation.HRESULT GetDropTarget(IOleInPlaceObjectWindowless* pThis, winmdroot.System.Ole.
IDropTarget
** ppDropTarget)
305
public unsafe void GetDropTarget(winmdroot.System.Ole.
IDropTarget
** ppDropTarget)
307
((delegate *unmanaged [Stdcall]<IOleInPlaceObjectWindowless*,winmdroot.System.Ole.
IDropTarget
** ,winmdroot.Foundation.HRESULT>)lpVtbl[10])((IOleInPlaceObjectWindowless*)Unsafe.AsPointer(ref this), ppDropTarget).ThrowOnFailure();
351
internal delegate *unmanaged [Stdcall]<IOleInPlaceObjectWindowless*,winmdroot.System.Ole.
IDropTarget
** ,winmdroot.Foundation.HRESULT> GetDropTarget_11;
406
unsafe winmdroot.Foundation.HRESULT GetDropTarget(winmdroot.System.Ole.
IDropTarget
** ppDropTarget);
System.Windows.Forms.Primitives.TestUtilities (2)
Windows\Win32\System\Ole\DropTargetMock.cs (2)
9
internal unsafe class DropTargetMock :
IDropTarget
.Interface, IManagedWrapper<
IDropTarget
>