PCLUSAPI_EVICT_CLUSTER_NODE_EX callback function

Evicts a node from the cluster and initiates cleanup operations on the node. The PCLUSAPI_EVICT_CLUSTER_NODE_EX type defines a pointer to this function.

Syntax

PCLUSAPI_EVICT_CLUSTER_NODE_EX PclusapiEvictClusterNodeEx;

DWORD PclusapiEvictClusterNodeEx(
  HNODE hNode,
  DWORD dwTimeOut,
  HRESULT *phrCleanupStatus
)
{...}

Parameters

hNode

Handle to the node to remove from the cluster.

dwTimeOut

Specifies the number of milliseconds for the function to wait for cleanup operations to occur. The function will return when the cleanup is complete or when the specified time elapses, whichever is sooner.

*phrCleanupStatus

Pointer to an HRESULT that describes the results of the cleanup operation.

Return Value

If the operation succeeds, the function returns ERROR_SUCCESS.

If the operation fails, the function returns a system error code, including the following value.

Requirements

   
Windows version None supported Windows Server 2008 Datacenter, Windows Server 2008 Enterprise
Target Platform Windows
Header clusapi.h

See Also

EvictClusterNode

OpenClusterNode