IFileOperation::PerformOperations method (shobjidl_core.h)

Executes all selected operations.

Syntax

HRESULT PerformOperations();

Return value

Type: HRESULT

Returns S_OK if successful, or an error value otherwise. Note that if the operation was canceled by the user, this method can still return a success code. Use the GetAnyOperationsAborted method to determine if this was the case.

Remarks

This method is called last to execute those actions that have been specified earlier by calling their individual methods. For instance, RenameItem does not rename the item, it simply sets the parameters. The actual renaming is done when you call PerformOperations.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)

See also

FinishOperations

IFileOperation

StartOperations