CloseClusterResource function

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

Syntax


BOOL WINAPI CloseClusterResource(
  _In_ HRESOURCE hResource
);

typedef BOOL (WINAPI *PCLUSAPI_CLOSE_CLUSTER_RESOURCE)(
    _In_ HRESOURCE hResource
);

Parameters

hResource [in]

Handle to the resource to be closed.

Return value

TRUE

The operation was successful.

FALSE

The operation was not successful. For information about the error, call the function GetLastError.

Examples

See Using Object Handles.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Enterprise, Windows Server 2008 Datacenter

Header

ClusAPI.h

Library

ClusAPI.lib

DLL

ClusAPI.dll

See also

CreateClusterResource
OpenClusterResource

 

 

Show: