The FailClusterResource function initiates a resource failure.
DWORD WINAPI FailClusterResource(
HRESOURCE hResource
);
If the operation was unsuccessful, FailClusterResource returns a Win32 error value.
The resource identified by hResource is treated as inoperable, causing the cluster to initiate the same failover process that would result if the resource had actually failed. Applications call FailClusterResource to test their policies for restarting resources and groups.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.