ITransferAdviseSink::SubStreamFailure method (shobjidl_core.h)
Called when there is a failure that involves secondary streams and user interaction is needed.
Syntax
HRESULT SubStreamFailure(
[in] IShellItem *psi,
[in] LPCWSTR pszStreamName,
[in] HRESULT hrError
);
Parameters
[in] psi
Type: IShellItem*
A pointer to the IShellItem that caused the failure.
[in] pszStreamName
Type: LPCWSTR
The name of the data that will be lost in the operation.
[in] hrError
Type: HRESULT
The error code that was generated. It must be handled by the copy engine.
Return value
Type: HRESULT
Any other HRESULT should be passed up. If the failure is not handled, the return value should be hrError.
Return code | Description |
---|---|
|
The handler should retry the file operation. |
|
The handler should retry the file operation using the name returned in the pszRename buffer. |
|
The user has indicated that the handler should overwrite the existing file. |
|
The user has indicated that the handler should try the operation again without the security descriptor. |
|
The user clicked Cancel. The entire copy job is being terminated. The handler should return this code back to the copy engine. |
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) |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για