33 ERR(
"SHGetDesktopFolder: %08lX\n",
hr);
52 DWORD dwEffect = DROPEFFECT_MOVE | DROPEFFECT_COPY | DROPEFFECT_LINK;
75 if (dwEffect == DROPEFFECT_NONE)
77 ERR(
"DROPEFFECT_NONE\n");
85 dwEffect = DROPEFFECT_LINK;
87 dwEffect = DROPEFFECT_MOVE;
89 dwEffect = DROPEFFECT_COPY;
91 hr = pDropTarget->
Drop(pDataObject, dwKeyState, ptl, &dwEffect);
140 hr = pFolder->GetUIObjectOf(
hwnd, 1, &pidlLast,
riid,
NULL, ppvOut);
172 SHCONTF_FOLDERS | SHCONTF_NONFOLDERS,
184 hr =
m_pSendTo->GetDisplayNameOf(pidlChild, SHGDN_NORMAL, &strret);
225 UINT idCmd = idCmdFirst;
243 if (idCmd == idCmdFirst)
250 return idCmd - idCmdFirst;
270 ERR(
"!m_pDataObject\n");
295 TRACE(
"%p %p %u %u %u %u\n",
this,
296 hMenu, indexMenu, idCmdFirst, idCmdLast,
uFlags);
298 if (
uFlags & (CMF_NOVERBS | CMF_VERBSONLY))
339 TRACE(
"idCmd: %d\n", idCmd);
347 TRACE(
"CSendToMenu::InvokeCommand %x\n",
hr);
358 FIXME(
"%p %lu %u %p %p %u\n",
this,
359 idCmd, uType, pwReserved, pszName,
cchMax);
411 y += (rcItem.
bottom - rcItem.
top - cySmall) / 2;
HRESULT WINAPI SHGetDesktopFolder(IShellFolder **psf)
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
void shell(int argc, const char *argv[])
HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDLIST *ppidl)
HRESULT WINAPI StrRetToStrW(LPSTRRET lpStrRet, const ITEMIDLIST *pidl, LPWSTR *ppszName)
#define MAKE_HRESULT(sev, fac, code)
GLint GLint GLint GLint GLint x
GLint GLint GLint GLint GLint GLint y
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
HRESULT Drop([in, unique] IDataObject *pDataObj, [in] DWORD grfKeyState, [in] POINTL pt, [in, out] DWORD *pdwEffect)
HRESULT DragEnter([in, unique] IDataObject *pDataObj, [in] DWORD grfKeyState, [in] POINTL pt, [in, out] DWORD *pdwEffect)
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
static int int const SCRIPT_CONTROL const SCRIPT_STATE SCRIPT_ITEM * pItems
unsigned __int3264 UINT_PTR
LPITEMIDLIST WINAPI ILCombine(LPCITEMIDLIST pidl1, LPCITEMIDLIST pidl2)
HRESULT WINAPI SHBindToParent(LPCITEMIDLIST pidl, REFIID riid, LPVOID *ppv, LPCITEMIDLIST *ppidlLast)
DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR path, DWORD dwFileAttributes, SHFILEINFOW *psfi, UINT sizeofpsfi, UINT flags)
#define FAILED_UNEXPECTEDLY(hr)
DWORD WINAPI GetLastError(void)
BOOL WINAPI InsertMenuW(_In_ HMENU, _In_ UINT, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCWSTR)
HMENU WINAPI CreateMenu(void)
BOOL WINAPI SetMenuItemInfoW(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOW)
BOOL WINAPI DrawIconEx(_In_ HDC, _In_ int, _In_ int, _In_ HICON, _In_ int, _In_ int, _In_ UINT, _In_opt_ HBRUSH, _In_ UINT)
BOOL WINAPI DestroyMenu(_In_ HMENU)
BOOL WINAPI GetMenuItemInfoW(_In_ HMENU, _In_ UINT, _In_ BOOL, _Inout_ LPMENUITEMINFOW)
SHORT WINAPI GetAsyncKeyState(_In_ int)
#define MAKEINTRESOURCEW(i)
int WINAPI GetSystemMetrics(_In_ int)
BOOL WINAPI InsertMenuItemW(_In_ HMENU, _In_ UINT, _In_ BOOL, _In_ LPCMENUITEMINFOW)
BOOL WINAPI AppendMenuW(_In_ HMENU, _In_ UINT, _In_ UINT_PTR, _In_opt_ LPCWSTR)
#define IID_PPV_ARG(Itype, ppType)