| 1582 | | if (hObjectdest != NULLHANDLE){ |
| 1583 | | hObjectofObject = WinQueryObject(wk->li->list[x]); |
| 1584 | | error = WinMoveObject(hObjectofObject, hObjectdest, 0); |
| 1585 | | } |
| | 1587 | PrfQueryProfileData(HINI_USER, |
| | 1588 | "XWorkplace", |
| | 1589 | "TrashCan::Drives", |
| | 1590 | G_abSupportedDrives, |
| | 1591 | &cbSupportedDrives); |
| | 1592 | if (hObjectdest != NULLHANDLE && fTrashCan && |
| | 1593 | (G_abSupportedDrives ? (G_abSupportedDrives[toupper(*wk->li->list[x]) - 'C'] & |
| | 1594 | 1):(!(driveflags[toupper(*wk->li->list[x]) - 'A'] & |
| | 1595 | (DRIVE_REMOVABLE | DRIVE_IGNORE | |
| | 1596 | DRIVE_REMOTE | DRIVE_VIRTUAL | |
| | 1597 | DRIVE_NOTWRITEABLE | DRIVE_RAMDISK))))) { |
| | 1598 | hObjectofObject = WinQueryObject(wk->li->list[x]); |
| | 1599 | error = WinMoveObject(hObjectofObject, hObjectdest, 0); |
| | 1600 | } |
| 1595 | | hObjectdest = WinQueryObject("<XWP_TRASHCAN>"); |
| 1596 | | if (hObjectdest != NULLHANDLE){ |
| 1597 | | hObjectofObject = WinQueryObject(wk->li->list[x]); |
| 1598 | | error = WinMoveObject(hObjectofObject, hObjectdest, 0); |
| 1599 | | } |
| | 1610 | hObjectdest = WinQueryObject("<XWP_TRASHCAN>"); |
| | 1611 | PrfQueryProfileData(HINI_USER, |
| | 1612 | "XWorkplace", |
| | 1613 | "TrashCan::Drives", |
| | 1614 | G_abSupportedDrives, |
| | 1615 | &cbSupportedDrives); |
| | 1616 | if (hObjectdest != NULLHANDLE && fTrashCan && |
| | 1617 | (G_abSupportedDrives ? (G_abSupportedDrives[toupper(*wk->li->list[x]) - 'C'] & |
| | 1618 | 1):(!(driveflags[toupper(*wk->li->list[x]) - 'A'] & |
| | 1619 | (DRIVE_REMOVABLE | DRIVE_IGNORE | |
| | 1620 | DRIVE_REMOTE | DRIVE_VIRTUAL | |
| | 1621 | DRIVE_NOTWRITEABLE | DRIVE_RAMDISK))))) { |
| | 1622 | hObjectofObject = WinQueryObject(wk->li->list[x]); |
| | 1623 | error = WinMoveObject(hObjectofObject, hObjectdest, 0); |
| | 1624 | } |