DeleteClusterResource

The DeleteClusterResource function removes an offline resource from a cluster.

DWORD WINAPI DeleteClusterResource(
  HRESOURCE hResource  
);
 

Parameters

hResource
[in] Handle to an offline resource.

Return Values

ERROR_SUCCESS
The operation was successful.
ERROR_RESOURCE_NOT_OFFLINE
The resource identified by hResource is not currently offline.

If the operation was unsuccessful, DeleteClusterResource can also return a Win32 error value.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.