Changeset 74411 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Sep 21, 2018 3:36:16 PM (6 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/VBoxTray
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnD.cpp
r74380 r74411 94 94 mEventSem(NIL_RTSEMEVENT), 95 95 hWnd(NULL), 96 uAllActions( DND_IGNORE_ACTION),96 uAllActions(VBOX_DND_ACTION_IGNORE), 97 97 mfMouseButtonDown(false), 98 98 #ifdef VBOX_WITH_DRAG_AND_DROP_GH … … 878 878 if (uAllActions) 879 879 { 880 if (uAllActions & DND_COPY_ACTION)880 if (uAllActions & VBOX_DND_ACTION_COPY) 881 881 startupInfo.dwOKEffects |= DROPEFFECT_COPY; 882 if (uAllActions & DND_MOVE_ACTION)882 if (uAllActions & VBOX_DND_ACTION_MOVE) 883 883 startupInfo.dwOKEffects |= DROPEFFECT_MOVE; 884 if (uAllActions & DND_LINK_ACTION)884 if (uAllActions & VBOX_DND_ACTION_LINK) 885 885 startupInfo.dwOKEffects |= DROPEFFECT_LINK; 886 886 } … … 925 925 int rc; 926 926 927 uint32_t uActionNotify = DND_IGNORE_ACTION;927 uint32_t uActionNotify = VBOX_DND_ACTION_IGNORE; 928 928 if (mMode == HG) 929 929 { … … 1196 1196 if (RT_SUCCESS(rc)) 1197 1197 { 1198 uint32_t uDefAction = DND_IGNORE_ACTION;1198 uint32_t uDefAction = VBOX_DND_ACTION_IGNORE; 1199 1199 1200 1200 AssertPtr(pDropTarget); … … 1202 1202 if (!strFormats.isEmpty()) 1203 1203 { 1204 uDefAction = DND_COPY_ACTION;1204 uDefAction = VBOX_DND_ACTION_COPY; 1205 1205 1206 1206 LogFlowFunc(("Acknowledging pDropTarget=0x%p, uDefAction=0x%x, uAllActions=0x%x, strFormats=%s\n", … … 1550 1550 1551 1551 this->lstFmtActive.clear(); 1552 this->uAllActions = DND_IGNORE_ACTION;1552 this->uAllActions = VBOX_DND_ACTION_IGNORE; 1553 1553 1554 1554 int rc2 = setMode(Unknown); -
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDnDDropSource.cpp
r69500 r74411 37 37 mpWndParent(pParent), 38 38 mdwCurEffect(0), 39 muCurAction( DND_IGNORE_ACTION)39 muCurAction(VBOX_DND_ACTION_IGNORE) 40 40 { 41 41 LogFlowFuncEnter(); … … 105 105 { 106 106 mdwCurEffect = 0; 107 muCurAction = DND_IGNORE_ACTION;107 muCurAction = VBOX_DND_ACTION_IGNORE; 108 108 109 109 LogFlowFunc(("Canceled\n")); … … 130 130 STDMETHODIMP VBoxDnDDropSource::GiveFeedback(DWORD dwEffect) 131 131 { 132 uint32_t uAction = DND_IGNORE_ACTION;132 uint32_t uAction = VBOX_DND_ACTION_IGNORE; 133 133 134 134 #if 1 … … 138 138 { 139 139 if (dwEffect & DROPEFFECT_COPY) 140 uAction |= DND_COPY_ACTION;140 uAction |= VBOX_DND_ACTION_COPY; 141 141 if (dwEffect & DROPEFFECT_MOVE) 142 uAction |= DND_MOVE_ACTION;142 uAction |= VBOX_DND_ACTION_MOVE; 143 143 if (dwEffect & DROPEFFECT_LINK) 144 uAction |= DND_LINK_ACTION;144 uAction |= VBOX_DND_ACTION_LINK; 145 145 } 146 146
Note:
See TracChangeset
for help on using the changeset viewer.