AddResourceToClusterSharedVolumes function (clusapi.h)

Adds storage to Cluster Shared Volumes. The PCLUSAPI_ADD_RESOURCE_TO_CLUSTER_SHARED_VOLUMES type defines a pointer to this function.

Syntax

DWORD AddResourceToClusterSharedVolumes(
  [in] HRESOURCE hResource
);

Parameters

[in] hResource

Handle to the physical disk resource to add to Cluster Shared Volumes.

Return value

If the operation succeeds, it returns ERROR_SUCCESS.

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

Remarks

The system crash dump path cannot reside on any cluster shared volumes that use BitLocker encryption.

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

RemoveResourceFromClusterSharedVolumes