CloseClusterResource function (clusapi.h)

Closes a resource handle. The PCLUSAPI_CLOSE_CLUSTER_RESOURCE type defines a pointer to this function.

Syntax

BOOL CloseClusterResource(
  [in] HRESOURCE hResource
);

Parameters

[in] hResource

Handle to the resource to be closed.

Return value

Return code Description
TRUE
The operation was successful.
FALSE
The operation was not successful. For information about the error, call the function GetLastError.

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

CreateClusterResource

OpenClusterResource