3.1.4.8 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 |
Description |
|
0x80070005 E_ACCESSDENIED |
The caller does not have the permissions to perform the operation. |
|
0x80070057 E_INVALIDARG |
One or more arguments are invalid. |
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 E_INVALIDARG.
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 return ZERO to the caller.