IFileOperationProgressSink::StartOperations method

Performs caller-implemented actions before any specific file operations are performed.

Syntax


HRESULT StartOperations();

Parameters

This method has no parameters.

Return value

Type: HRESULT

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

Remarks

StartOperations is the first of the IFileOperationProgressSink methods to be called after PerformOperations. It can be used to perform any setup or initialization that you require before the file operations begin.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Show: