|
| CRecycleBinItemContextMenu () |
|
| ~CRecycleBinItemContextMenu () |
|
HRESULT WINAPI | Initialize (LPCITEMIDLIST pidl) |
|
STDMETHOD() | QueryContextMenu (HMENU hMenu, UINT indexMenu, UINT idCmdFirst, UINT idCmdLast, UINT uFlags) override |
|
STDMETHOD() | InvokeCommand (LPCMINVOKECOMMANDINFO lpcmi) override |
|
STDMETHOD() | GetCommandString (UINT_PTR idCommand, UINT uFlags, UINT *lpReserved, LPSTR lpszName, UINT uMaxNameLen) override |
|
STDMETHOD() | HandleMenuMsg (UINT uMsg, WPARAM wParam, LPARAM lParam) override |
|
| ~CComObjectRootEx () |
|
ULONG | InternalAddRef () |
|
ULONG | InternalRelease () |
|
void | Lock () |
|
void | Unlock () |
|
HRESULT | _AtlInitialConstruct () |
|
| CComObjectRootBase () |
|
| ~CComObjectRootBase () |
|
void | SetVoid (void *) |
|
HRESULT | _AtlFinalConstruct () |
|
HRESULT | FinalConstruct () |
|
void | InternalFinalConstructAddRef () |
|
void | InternalFinalConstructRelease () |
|
void | FinalRelease () |
|
HRESULT | HandleMenuMsg ([in] UINT uMsg, [in] WPARAM wParam, [in] LPARAM lParam) |
|
HRESULT | QueryContextMenu ([in] HMENU hmenu, [in] UINT indexMenu, [in] UINT idCmdFirst, [in] UINT idCmdLast, [in] UINT uFlags) |
|
HRESULT | InvokeCommand ([in] LPCMINVOKECOMMANDINFO lpici) |
|
HRESULT | GetCommandString ([in] UINT_PTR idCmd, [in] UINT uType, [out] UINT *pwReserved, [out, size_is(cchMax)] LPSTR pszName, [in] UINT cchMax) |
|
HRESULT | QueryInterface ([in] REFIID riid, [out, iid_is(riid)] void **ppvObject) |
|
ULONG | AddRef () |
|
ULONG | Release () |
|
Definition at line 133 of file CRecycleBin.cpp.
◆ CRecycleBinItemContextMenu()
CRecycleBinItemContextMenu::CRecycleBinItemContextMenu |
( |
| ) |
|
◆ ~CRecycleBinItemContextMenu()
CRecycleBinItemContextMenu::~CRecycleBinItemContextMenu |
( |
| ) |
|
Definition at line 341 of file CRecycleBin.cpp.
342{
344}
void WINAPI ILFree(LPITEMIDLIST pidl)
◆ GetCommandString()
Implements IContextMenu.
Definition at line 442 of file CRecycleBin.cpp.
443{
444 TRACE(
"(%p)->(idcom=%lx flags=%x %p name=%p len=%x)\n",
this, idCommand,
uFlags, lpReserved, lpszName, uMaxNameLen);
445
447}
◆ HandleMenuMsg()
◆ Initialize()
Definition at line 346 of file CRecycleBin.cpp.
347{
352}
LPITEMIDLIST WINAPI ILClone(LPCITEMIDLIST pidl)
◆ InvokeCommand()
Implements IContextMenu.
Definition at line 392 of file CRecycleBin.cpp.
393{
396
397 TRACE(
"(%p)->(invcom=%p verb=%p wnd=%p)\n",
this, lpcmi, lpcmi->lpVerb, lpcmi->hwnd);
398
400 {
403
405 {
406 ERR(
"GetEnvironmentVariableW failed\n");
408 }
410
414
416
417
420
421 else
423
425
427 }
429 {
430 FIXME(
"implement cut\n");
432 }
434 {
435 FIXME(
"implement properties\n");
437 }
438
440}
static PIDLRecycleStruct * _ILGetRecycleStruct(LPCITEMIDLIST pidl)
BOOL WINAPI CBSearchRecycleBin(IN PVOID Context, IN HDELFILE hDeletedFile)
#define GetEnvironmentVariableW(x, y, z)
BOOL WINAPI RestoreFile(IN HDELFILE hDeletedFile)
BOOL WINAPI EnumerateRecycleBinW(IN LPCWSTR pszRoot OPTIONAL, IN PENUMERATE_RECYCLEBIN_CALLBACK pFnCallback, IN PVOID Context OPTIONAL)
BOOL WINAPI CloseRecycleBinHandle(IN HDELFILE hDeletedFile)
BOOL WINAPI DeleteFileHandleToRecycleBin(IN HDELFILE hDeletedFile)
#define PathAddBackslashW
#define MAKEINTRESOURCEA(i)
◆ QueryContextMenu()
Implements IContextMenu.
Definition at line 354 of file CRecycleBin.cpp.
355{
356 WCHAR szBuffer[30] = {0};
358
359 TRACE(
"(%p)->(hmenu=%p indexmenu=%x cmdfirst=%x cmdlast=%x flags=%x )\n",
this, hMenu, indexMenu, idCmdFirst, idCmdLast,
uFlags);
360
362 {
366 }
367
369 {
373 }
374
376 {
380 }
381
383 {
387 }
388
390}
#define shell32_hInstance
#define MAKE_HRESULT(sev, fac, code)
void WINAPI _InsertMenuItemW(HMENU hmenu, UINT indexMenu, BOOL fByPosition, UINT wID, UINT fType, LPCWSTR dwTypeData, UINT fState)
int WINAPI LoadStringW(_In_opt_ HINSTANCE hInstance, _In_ UINT uID, _Out_writes_to_(cchBufferMax, return+1) LPWSTR lpBuffer, _In_ int cchBufferMax)
◆ apidl
The documentation for this class was generated from the following file: