The DeleteClusterResourceType function removes a resource type from a cluster.
DWORD WINAPI DeleteClusterResourceType(
HCLUSTER hCluster,
LPCWSTR lpszResourceTypeName
);
If the operation was unsuccessful, DeleteClusterResourceType returns a Win32 error value.
The DeleteClusterResourceType function only removes the resource type, with the name pointed to by lpszResourceTypeName from the cluster database, and unregisters it with the Cluster Service. The caller must delete the resource DLL for the resource type from each node in the cluster.
The caller must also delete any resources of this type before calling DeleteClusterResourceType to delete the type. If any resources of the specified type still exist when DeleteClusterResourceType is called, the function fails.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.