IFileOperationProgressSink::PostDeleteItem method
Performs caller-implemented actions after the delete process for each item is complete.
Syntax
HRESULT PostDeleteItem( [in] DWORD dwFlags, [in] IShellItem *psiItem, [in] HRESULT hrDelete, [in] IShellItem *psiNewlyCreated );
Parameters
- dwFlags [in]
-
Type: DWORD
bitwise value that contains flags that were used during the delete operation. Some values can be set or changed during the delete operation. See TRANSFER_SOURCE_FLAGS for flag descriptions.
- psiItem [in]
-
Type: IShellItem*
Pointer to an IShellItem that specifies the item that was deleted.
- hrDelete [in]
-
Type: HRESULT
The return value of the delete operation. Note that this is not the HRESULT returned by DeleteItem, which simply queues the delete operation. Instead, this is the result of the actual deletion.
- psiNewlyCreated [in]
-
Type: IShellItem*
A pointer to an IShellItem that specifies the deleted item, now in the Recycle Bin. If the item was fully deleted, this value is NULL.
Return value
Type: HRESULT
Returns S_OK if successful, or an error value otherwise. In the case of an error value, all subsequent operations pending from the call to IFileOperation are canceled.
Requirements
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps only] |
|
Header |
|
|
IDL |
|