- 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:
Johannes Anderwald 2007-11-05 09:57:30 +00:00
parent 03723d94e3
commit c3c57d6114
2 changed files with 10 additions and 1 deletions

View file

@ -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);

View file

@ -361,6 +361,7 @@ SH_LoadContextMenuHandlers(ItemCmImpl *This, IDataObject * pDataObj, HMENU hMenu
}
curEntry = This->dhead;
This->iIdSHEFirst = idCmdFirst;
do
{