IFileOperationProgressSink::StartOperations method (shobjidl_core.h)
Performs caller-implemented actions before any specific file operations are performed.
Syntax
HRESULT StartOperations();
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
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) |