IFileOperationProgressSink class com
Exposes methods that provide a rich notification system used by callers of IFileOperation to monitor the details of the operations they are performing through that interface.
To learn more, see learn.microsoft.com/windows/win32/api/shobjidl_core/nn-shobjidl_core-ifileoperationprogresssink.
- Inheritance
- Implemented types
Constructors
- IFileOperationProgressSink(VTablePointer ptr)
- Creates a new instance of IFileOperationProgressSink from a VTablePointer.
- IFileOperationProgressSink.from(IUnknown interface)
-
Creates a new instance of IFileOperationProgressSink from an existing
interface.factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ptr → VTablePointer
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRef(
) → int -
Increments the reference count of this COM object.
inherited
-
finishOperations(
HRESULT hrResult) → void - Performs caller-implemented actions after the last operation performed by the call to IFileOperation is complete.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pauseTimer(
) → void - Not supported.
-
postCopyItem(
int dwFlags, IShellItem? psiItem, IShellItem? psiDestinationFolder, PCWSTR pszNewName, HRESULT hrCopy, IShellItem? psiNewlyCreated) → void - Performs caller-implemented actions after the copy process for each item is complete.
-
postDeleteItem(
int dwFlags, IShellItem? psiItem, HRESULT hrDelete, IShellItem? psiNewlyCreated) → void - Performs caller-implemented actions after the delete process for each item is complete.
-
postMoveItem(
int dwFlags, IShellItem? psiItem, IShellItem? psiDestinationFolder, PCWSTR pszNewName, HRESULT hrMove, IShellItem? psiNewlyCreated) → void - Performs caller-implemented actions after the move process for each item is complete.
-
postNewItem(
int dwFlags, IShellItem? psiDestinationFolder, PCWSTR pszNewName, PCWSTR pszTemplateName, int dwFileAttributes, HRESULT hrNew, IShellItem? psiNewItem) → void - Performs caller-implemented actions after the new item is created.
-
postRenameItem(
int dwFlags, IShellItem? psiItem, PCWSTR pszNewName, HRESULT hrRename, IShellItem? psiNewlyCreated) → void - Performs caller-implemented actions after the rename process for each item is complete.
-
preCopyItem(
int dwFlags, IShellItem? psiItem, IShellItem? psiDestinationFolder, PCWSTR pszNewName) → void - Performs caller-implemented actions before the copy process for each item begins.
-
preDeleteItem(
int dwFlags, IShellItem? psiItem) → void - Performs caller-implemented actions before the delete process for each item begins.
-
preMoveItem(
int dwFlags, IShellItem? psiItem, IShellItem? psiDestinationFolder, PCWSTR pszNewName) → void - Performs caller-implemented actions before the move process for each item begins.
-
preNewItem(
int dwFlags, IShellItem? psiDestinationFolder, PCWSTR pszNewName) → void - Performs caller-implemented actions before the process to create a new item begins.
-
preRenameItem(
int dwFlags, IShellItem? psiItem, PCWSTR pszNewName) → void - Performs caller-implemented actions before the rename process for each item begins.
-
queryInterface<
T extends IUnknown> () → T -
Queries this COM object for a specific interface defined by the type
parameter
T.inherited -
release(
) → int -
Decrements the reference count of this COM object.
inherited
-
resetTimer(
) → void - Not supported.
-
resumeTimer(
) → void - Not supported.
-
startOperations(
) → void - Performs caller-implemented actions before any specific file operations are performed.
-
toString(
) → String -
A string representation of this object.
override
-
updateProgress(
int iWorkTotal, int iWorkSoFar) → void - Provides an estimate of the total amount of work currently done in relation to the total amount of work.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited