Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All AbortShadowCopySet (Opnum 7)

The AbortShadowCopySet method is invoked by the client to delete a given shadow copy set on the server.

 DWORD AbortShadowCopySet(
         [in] handle_t hBinding,
         [in] GUID ShadowCopySetId);

hBinding:  An RPC binding handle (as defined in [C706]).

ShadowCopySetId: The GUID of the shadow copy set.

Return Values: The method returns one of the values as specified in section 2.2.4. The most common error codes are listed in the following table.

Return value/code




The caller does not have the permissions to perform the operation.



One or more arguments are invalid.



The method call is invalid because of the server's state.



The provided ShadowCopySetId does not exist.

The server MUST fail the call with E_INVALIDARG if ShadowCopySetId is set to NULL.

The server MUST look up the ShadowCopySet from GlobalShadowCopysetTable using the index ShadowCopySetId. If no shadow copy set is found, the server MUST fail the call with FSRVP_E_SHADOWCOPYSET_ID_MISMATCH.

The server MUST attempt to abort the shadow copy set. If the process returns an error, the server MUST fail the call with the same error code.

The server MUST delete ShadowCopySet from GlobalShadowCopySetTable and free the ShadowCopySet object. The server MUST set ContextSet to FALSE and return ZERO to the caller.

© 2015 Microsoft