CloseClusterResource function

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

Syntax

BOOL CloseClusterResource(
  HRESOURCE hResource
);

Parameters

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

   
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