69 references to MODIFIERKEYS_FLAGS
System.Private.Windows.Core (32)
Windows.Win32.IDropSource.g.cs (5)
58 private static winmdroot.Foundation.HRESULT QueryContinueDrag(IDropSource* pThis, winmdroot.Foundation.BOOL fEscapePressed, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState) 83 public winmdroot.Foundation.HRESULT QueryContinueDrag(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); 151 internal delegate *unmanaged [Stdcall]<IDropSource*,winmdroot.Foundation.BOOL ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.Foundation.HRESULT> QueryContinueDrag_4; 181winmdroot.Foundation.HRESULT QueryContinueDrag(winmdroot.Foundation.BOOL fEscapePressed, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState);
Windows.Win32.IDropTarget.g.cs (21)
55 /// <inheritdoc cref="DragEnter(winmdroot.System.Com.IDataObject*, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS, winmdroot.Foundation.POINTL, winmdroot.System.Ole.DROPEFFECT*)"/> 56 internal unsafe winmdroot.Foundation.HRESULT DragEnter(winmdroot.System.Com.IDataObject* pDataObj, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, ref winmdroot.System.Ole.DROPEFFECT pdwEffect) 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) 99 public unsafe winmdroot.Foundation.HRESULT DragEnter(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); 104 /// <inheritdoc cref="DragOver(winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS, winmdroot.Foundation.POINTL, winmdroot.System.Ole.DROPEFFECT*)"/> 105 internal unsafe winmdroot.Foundation.HRESULT DragOver(winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, ref winmdroot.System.Ole.DROPEFFECT 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) 147 public unsafe winmdroot.Foundation.HRESULT DragOver(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); 187 /// <inheritdoc cref="Drop(winmdroot.System.Com.IDataObject*, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS, winmdroot.Foundation.POINTL, winmdroot.System.Ole.DROPEFFECT*)"/> 188 internal unsafe winmdroot.Foundation.HRESULT Drop(winmdroot.System.Com.IDataObject* pDataObj, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, ref winmdroot.System.Ole.DROPEFFECT pdwEffect) 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) 231 public unsafe winmdroot.Foundation.HRESULT Drop(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); 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; 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; 299 unsafe winmdroot.Foundation.HRESULT DragEnter(winmdroot.System.Com.IDataObject* pDataObj, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, winmdroot.System.Ole.DROPEFFECT* pdwEffect); 302 unsafe winmdroot.Foundation.HRESULT DragOver(winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, winmdroot.System.Ole.DROPEFFECT* pdwEffect); 308 unsafe winmdroot.Foundation.HRESULT Drop(winmdroot.System.Com.IDataObject* pDataObj, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.Foundation.POINTL pt, winmdroot.System.Ole.DROPEFFECT* pdwEffect);
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)
System.Windows.Forms (17)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.OleCallback.cs (9)
89MODIFIERKEYS_FLAGS keyState = 0; 98keyState |= MODIFIERKEYS_FLAGS.MK_LBUTTON; 103keyState |= MODIFIERKEYS_FLAGS.MK_RBUTTON; 108keyState |= MODIFIERKEYS_FLAGS.MK_MBUTTON; 113keyState |= MODIFIERKEYS_FLAGS.MK_CONTROL; 118keyState |= MODIFIERKEYS_FLAGS.MK_SHIFT; 159e.Effect = keyState.HasFlag(MODIFIERKEYS_FLAGS.MK_CONTROL) ? DragDropEffects.Copy : DragDropEffects.Move; 192public HRESULT GetDragDropEffect(BOOL fDrag, MODIFIERKEYS_FLAGS grfKeyState, DROPEFFECT* pdwEffect) 253e.Effect = grfKeyState.HasFlag(MODIFIERKEYS_FLAGS.MK_CONTROL)
System\Windows\Forms\OLE\DropSource.cs (4)
32public HRESULT QueryContinueDrag(BOOL fEscapePressed, MODIFIERKEYS_FLAGS grfKeyState) 40!grfKeyState.HasFlag(MODIFIERKEYS_FLAGS.MK_LBUTTON) 41&& !grfKeyState.HasFlag(MODIFIERKEYS_FLAGS.MK_RBUTTON) 42&& !grfKeyState.HasFlag(MODIFIERKEYS_FLAGS.MK_MBUTTON))
System\Windows\Forms\OLE\DropTarget.cs (4)
72private DragEventArgs? CreateDragEventArgs(Com.IDataObject* pDataObj, MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT pdwEffect) 106HRESULT OleIDropTarget.Interface.DragEnter(Com.IDataObject* pDataObj, MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect) 135HRESULT OleIDropTarget.Interface.DragOver(MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect) 175HRESULT OleIDropTarget.Interface.Drop(Com.IDataObject* pDataObj, MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect)
System.Windows.Forms.Design (8)
System\ComponentModel\Design\MultilineStringEditor.OleCallback.cs (1)
130public unsafe HRESULT GetDragDropEffect(BOOL fDrag, MODIFIERKEYS_FLAGS grfKeyState, DROPEFFECT* pdwEffect)
System\Windows\Forms\Design\ControlDesigner.cs (4)
1955if (((MODIFIERKEYS_FLAGS)(nint)m.WParamInternal).HasFlag(MODIFIERKEYS_FLAGS.MK_LBUTTON)) 1959else if (((MODIFIERKEYS_FLAGS)(nint)m.WParamInternal).HasFlag(MODIFIERKEYS_FLAGS.MK_RBUTTON))
System\Windows\Forms\Design\OleDragDropHandler.cs (3)
880if ((de.KeyState & (int)MODIFIERKEYS_FLAGS.MK_CONTROL) != 0 && (de.AllowedEffect & DragDropEffects.Copy) != 0) 897if ((de.KeyState & (int)MODIFIERKEYS_FLAGS.MK_CONTROL) != 0 954bool copy = (de.KeyState & (int)MODIFIERKEYS_FLAGS.MK_CONTROL) != 0
System.Windows.Forms.Primitives (9)
Windows.Win32.IRichEditOleCallback.g.cs (7)
428 /// <inheritdoc cref="GetDragDropEffect(winmdroot.Foundation.BOOL, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS, winmdroot.System.Ole.DROPEFFECT*)"/> 429 internal unsafe winmdroot.Foundation.HRESULT GetDragDropEffect(winmdroot.Foundation.BOOL fDrag, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, ref winmdroot.System.Ole.DROPEFFECT pdwEffect) 441 private static winmdroot.Foundation.HRESULT GetDragDropEffect(IRichEditOleCallback* pThis, winmdroot.Foundation.BOOL fDrag, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.System.Ole.DROPEFFECT* pdwEffect) 477 public unsafe winmdroot.Foundation.HRESULT GetDragDropEffect(winmdroot.Foundation.BOOL fDrag, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.System.Ole.DROPEFFECT* pdwEffect) 479 return ((delegate *unmanaged [Stdcall]<IRichEditOleCallback*,winmdroot.Foundation.BOOL ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.System.Ole.DROPEFFECT* ,winmdroot.Foundation.HRESULT>)lpVtbl[11])((IRichEditOleCallback*)Unsafe.AsPointer(ref this), fDrag, grfKeyState, pdwEffect); 582 internal delegate *unmanaged [Stdcall]<IRichEditOleCallback*,winmdroot.Foundation.BOOL ,winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS ,winmdroot.System.Ole.DROPEFFECT* ,winmdroot.Foundation.HRESULT> GetDragDropEffect_12; 644 unsafe winmdroot.Foundation.HRESULT GetDragDropEffect(winmdroot.Foundation.BOOL fDrag, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, winmdroot.System.Ole.DROPEFFECT* pdwEffect);
Windows.Win32.UI_Controls_RichEdit_IRichEditOleCallback_Extensions.g.cs (2)
63 /// <inheritdoc cref="winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface.GetDragDropEffect(winmdroot.Foundation.BOOL, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS, winmdroot.System.Ole.DROPEFFECT*)"/> 64 internal static unsafe winmdroot.Foundation.HRESULT GetDragDropEffect(this winmdroot.UI.Controls.RichEdit.IRichEditOleCallback.Interface @this, winmdroot.Foundation.BOOL fDrag, winmdroot.System.SystemServices.MODIFIERKEYS_FLAGS grfKeyState, ref winmdroot.System.Ole.DROPEFFECT pdwEffect)
System.Windows.Forms.Primitives.TestUtilities (3)
Windows\Win32\System\Ole\DropTargetMock.cs (3)
11public virtual HRESULT DragEnter(IDataObject* pDataObj, MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect) 16public virtual HRESULT DragOver(MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect) 26public virtual HRESULT Drop(IDataObject* pDataObj, MODIFIERKEYS_FLAGS grfKeyState, POINTL pt, DROPEFFECT* pdwEffect)