IFileOperationDeleteItem Method

Declares a single item that is to be deleted.

Definition

Namespace: DevCase.Win32.Interfaces
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
HResult DeleteItem(
	IShellItem psiItem,
	IFileOperationProgressSink pfopsItem
)

Parameters

psiItem  IShellItem
Pointer to an IShellItem that specifies the item to be deleted.
pfopsItem  IFileOperationProgressSink
Pointer to an IFileOperationProgressSink object to be used for progress status and error notifications for this specific delete operation.

If you call Advise(IFileOperationProgressSink, UInt32) for the overall operation, progress status and error notifications for the delete operation are included there, so set this parameter to NULL.

Return Value

HResult
If this method succeeds, it returns S_OK. Otherwise, it returns an HResult error code.

See Also