IFileOperationAdvise Method
Enables a handler to provide status and error information for all operations.
Namespace: DevCase.Win32.InterfacesAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
No code example is currently available or this language may not be supported.
- pfops IFileOperationProgressSink
-
Pointer to an IFileOperationProgressSink object to be used
for progress status and error notifications.
- pdwCookie UInt32
-
When this method returns, this parameter points to a returned token
that uniquely identifies this connection.
The calling application uses this token later to delete the connection
by passing it to Unadvise(UInt32).
If the call to Advise(IFileOperationProgressSink, UInt32) fails, this value is meaningless.
HResult
If this method succeeds, it returns
S_OK.
Otherwise, it returns an
HResult error code.