mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
- call SHEmptyRecycleBinW on request
- store first cmdindex of first shell extension - empty bitbucket should now work, although it gives back an error - thnx to hpoussin svn path=/trunk/; revision=30156
This commit is contained in:
parent
03723d94e3
commit
c3c57d6114
2 changed files with 10 additions and 1 deletions
|
@ -726,7 +726,15 @@ RecycleBin_IContextMenu_InvokeCommand( IContextMenu* iface, LPCMINVOKECOMMANDINF
|
|||
|
||||
TRACE("%p %p verb %p\n", This, lpici, lpici->lpVerb);
|
||||
|
||||
if ( lpici->lpVerb == MAKEINTRESOURCEA(This->iIdProperties))
|
||||
if ( LOWORD(lpici->lpVerb) == MAKEINTRESOURCEA(This->iIdEmpty))
|
||||
{
|
||||
// FIXME
|
||||
// path & flags
|
||||
return SHEmptyRecycleBinW(lpici->hwnd, L"C:\\", 0);
|
||||
}
|
||||
|
||||
|
||||
if ( LOWORD(lpici->lpVerb) == MAKEINTRESOURCEA(This->iIdProperties))
|
||||
{
|
||||
WCHAR szDrive = 'C';
|
||||
SH_ShowRecycleBinProperties(szDrive);
|
||||
|
|
|
@ -361,6 +361,7 @@ SH_LoadContextMenuHandlers(ItemCmImpl *This, IDataObject * pDataObj, HMENU hMenu
|
|||
}
|
||||
|
||||
curEntry = This->dhead;
|
||||
This->iIdSHEFirst = idCmdFirst;
|
||||
do
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in a new issue