OpenClusterResource

The OpenClusterResource function opens a resource and returns a handle to it.

HRESOURCE WINAPI OpenClusterResource(
  HCLUSTER hCluster,        
  LPCWSTR lpszResourceName  
);
 

Parameters

hCluster
[in] Handle to a cluster.
lpszResourceName
[in] Pointer to the name of the resource to be opened.

Return Values

NULL
The operation was unsuccessful. For detailed information about the error, call the Win32 function GetLastError.

If the operation was successful, OpenClusterResource returns a handle to the opened resource.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.