Export (0) Print
Expand All

IFileOperation::PerformOperations method

Executes all selected operations.

Syntax


HRESULT PerformOperations();

Parameters

This method has no parameters.

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

IFileOperation
StartOperations
FinishOperations

 

 

Community Additions

ADD
Show:
© 2014 Microsoft