mirror of
https://github.com/reactos/reactos.git
synced 2024-09-09 20:30:04 +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
|
@ -726,7 +726,15 @@ RecycleBin_IContextMenu_InvokeCommand( IContextMenu* iface, LPCMINVOKECOMMANDINF
|
||||||
|
|
||||||
TRACE("%p %p verb %p\n", This, lpici, lpici->lpVerb);
|
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';
|
WCHAR szDrive = 'C';
|
||||||
SH_ShowRecycleBinProperties(szDrive);
|
SH_ShowRecycleBinProperties(szDrive);
|
||||||
|
|
|
@ -361,6 +361,7 @@ SH_LoadContextMenuHandlers(ItemCmImpl *This, IDataObject * pDataObj, HMENU hMenu
|
||||||
}
|
}
|
||||||
|
|
||||||
curEntry = This->dhead;
|
curEntry = This->dhead;
|
||||||
|
This->iIdSHEFirst = idCmdFirst;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue