ITransferSource::RemoveItem method
Removes the item without moving the item to the Recycle Bin.
Syntax
HRESULT RemoveItem( [in] IShellItem *psiSource, [in] TRANSFER_SOURCE_FLAGS dwFlags );
Parameters
- psiSource [in]
-
Type: IShellItem*
A pointer to the IShellItem to be removed.
- dwFlags [in]
-
Type: TRANSFER_SOURCE_FLAGS
Flags that control the file operation. One or more of the TRANSFER_SOURCE_FLAGS constants.
Return value
Type: HRESULT
Returns one of the following, or an error code.
| Return code | Description |
|---|---|
|
User responded "Yes" to the dialog |
|
User responded to retry the current action |
|
User responded "No" to the dialog. |
|
User responded to merge folders. |
|
User responded to retry the file with new name. |
|
Child items should not be processed. |
|
Error has been queued and will display later. |
|
User canceled the current action. |
|
Operation requires elevated privileges. |
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|