RemoveResourceFromClusterSharedVolumes function (clusapi.h)

Removes storage from Cluster Shared Volumes. The PCLUSAPI_REMOVE_RESOURCE_FROM_CLUSTER_SHARED_VOLUMES type defines a pointer to this function.

Syntax

DWORD RemoveResourceFromClusterSharedVolumes(
  [in] HRESOURCE hResource
);

Parameters

[in] hResource

Handle to the physical disk resource to remove from Cluster Shared Volumes.

Return value

If the operation succeeds, it returns ERROR_SUCCESS.

If the operation fails, RemoveResourceFromClusterSharedVolumes returns one of the system error codes.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Target Platform Windows
Header clusapi.h
Library ClusAPI.lib
DLL ClusAPI.dll

See also

AddResourceToClusterSharedVolumes