30 references to IDragSourceHelper2
System.Private.Windows.Core (30)
_generated\134\Windows.Win32.IDragSourceHelper2.g.cs (23)
27
:winmdroot.IVTable<
IDragSourceHelper2
,
IDragSourceHelper2
.Vtbl>,IComIID {
44
return ((delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT>)lpVtbl[0])((
IDragSourceHelper2
*)Unsafe.AsPointer(ref this), riid, ppvObject);
49
return ((delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,uint>)lpVtbl[1])((
IDragSourceHelper2
*)Unsafe.AsPointer(ref this));
54
return ((delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,uint>)lpVtbl[2])((
IDragSourceHelper2
*)Unsafe.AsPointer(ref this));
71
private static winmdroot.Foundation.HRESULT InitializeFromBitmap(
IDragSourceHelper2
* pThis, winmdroot.UI.Shell.SHDRAGIMAGE* pshdi, winmdroot.System.Com.IDataObject* pDataObject)
90
return ((delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,winmdroot.UI.Shell.SHDRAGIMAGE* ,winmdroot.System.Com.IDataObject* ,winmdroot.Foundation.HRESULT>)lpVtbl[3])((
IDragSourceHelper2
*)Unsafe.AsPointer(ref this), pshdi, pDataObject);
105
private static winmdroot.Foundation.HRESULT InitializeFromWindow(
IDragSourceHelper2
* pThis, [Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point* ppt, winmdroot.System.Com.IDataObject* pDataObject)
124
return ((delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,winmdroot.Foundation.HWND ,global::System.Drawing.Point* ,winmdroot.System.Com.IDataObject* ,winmdroot.Foundation.HRESULT>)lpVtbl[4])((
IDragSourceHelper2
*)Unsafe.AsPointer(ref this), hwnd, ppt, pDataObject);
130
private static winmdroot.Foundation.HRESULT SetFlags(
IDragSourceHelper2
* pThis, uint dwFlags)
160
return ((delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,uint ,winmdroot.Foundation.HRESULT>)lpVtbl[5])((
IDragSourceHelper2
*)Unsafe.AsPointer(ref this), dwFlags);
186
internal delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,global::System.Guid* ,void** ,winmdroot.Foundation.HRESULT> QueryInterface_1;
188
internal delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,uint> AddRef_2;
190
internal delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,uint> Release_3;
192
internal delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,winmdroot.UI.Shell.SHDRAGIMAGE* ,winmdroot.System.Com.IDataObject* ,winmdroot.Foundation.HRESULT> InitializeFromBitmap_4;
194
internal delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,winmdroot.Foundation.HWND ,global::System.Drawing.Point* ,winmdroot.System.Com.IDataObject* ,winmdroot.Foundation.HRESULT> InitializeFromWindow_5;
196
internal delegate *unmanaged [Stdcall]<
IDragSourceHelper2
*,uint ,winmdroot.Foundation.HRESULT> SetFlags_6;
_generated\265\Windows.Win32.UI_Shell_IDragSourceHelper2_Extensions.g.cs (4)
23
/// <inheritdoc cref="winmdroot.UI.Shell.
IDragSourceHelper2
.Interface.InitializeFromBitmap(winmdroot.UI.Shell.SHDRAGIMAGE*, winmdroot.System.Com.IDataObject*)"/>
24
internal static unsafe winmdroot.Foundation.HRESULT InitializeFromBitmap(this winmdroot.UI.Shell.
IDragSourceHelper2
.Interface @this, in winmdroot.UI.Shell.SHDRAGIMAGE pshdi, winmdroot.System.Com.IDataObject* pDataObject)
33
/// <inheritdoc cref="winmdroot.UI.Shell.
IDragSourceHelper2
.Interface.InitializeFromWindow(winmdroot.Foundation.HWND, global::System.Drawing.Point*, winmdroot.System.Com.IDataObject*)"/>
34
internal static unsafe winmdroot.Foundation.HRESULT InitializeFromWindow(this winmdroot.UI.Shell.
IDragSourceHelper2
.Interface @this, [Optional] winmdroot.Foundation.HWND hwnd, [Optional] global::System.Drawing.Point? ppt, winmdroot.System.Com.IDataObject* pDataObject)
System\Private\Windows\Ole\DataFormatNames.cs (1)
50
/// A format that contains the value passed to <see cref="
IDragSourceHelper2
.Interface.SetFlags(uint)"/>
System\Private\Windows\Ole\DragDropHelper.cs (2)
261
using ComScope<
IDragSourceHelper2
> dragSourceHelper = new(null);
262
if (!TryGetDragDropHelper<
IDragSourceHelper2
>(dragSourceHelper))