diff --git a/reactos/subsys/system/explorer/shell/shellbrowser.cpp b/reactos/subsys/system/explorer/shell/shellbrowser.cpp index f17b401bc73..6ab4d8e1ef0 100644 --- a/reactos/subsys/system/explorer/shell/shellbrowser.cpp +++ b/reactos/subsys/system/explorer/shell/shellbrowser.cpp @@ -448,7 +448,7 @@ HRESULT ShellBrowserChild::OnDefaultCommand(IShellView* ppshv) return hr; - STGMEDIUM stgm = {sizeof(STGMEDIUM)}; + STGMEDIUM stgm = {sizeof(STGMEDIUM), {0}, 0}; hr = selection->GetData(&fetc, &stgm); if (FAILED(hr)) diff --git a/reactos/subsys/system/explorer/utility/dragdropimpl.cpp b/reactos/subsys/system/explorer/utility/dragdropimpl.cpp index dca5f300031..45871f5cdae 100644 --- a/reactos/subsys/system/explorer/utility/dragdropimpl.cpp +++ b/reactos/subsys/system/explorer/utility/dragdropimpl.cpp @@ -478,7 +478,7 @@ bool IDropTargetImpl::QueryDrop(DWORD grfKeyState, LPDWORD pdwEffect) //no modifier -- DROPEFFECT_MOVE or whatever is allowed by src *pdwEffect = (grfKeyState & MK_CONTROL) ? ( (grfKeyState & MK_SHIFT) ? DROPEFFECT_LINK : DROPEFFECT_COPY ): - ( (grfKeyState & MK_SHIFT) ? DROPEFFECT_MOVE : 0 ); + ( (grfKeyState & MK_SHIFT) ? DROPEFFECT_MOVE : DROPEFFECT_NONE ); if (*pdwEffect == 0) { // No modifier keys used by user while dragging.