ClusterResourceGetEnumCount function

Returns the number of cluster objects associated with a resource enumeration handle. The PCLUSAPI_CLUSTER_RESOURCE_GET_ENUM_COUNT type defines a pointer to this function.

Syntax


DWORD WINAPI ClusterResourceGetEnumCount(
  _In_ HRESENUM hResEnum
);

typedef DWORD (WINAPI *PCLUSAPI_CLUSTER_RESOURCE_GET_ENUM_COUNT)(
    _In_ HRESENUM hResEnum
);

Parameters

hResEnum [in]

Handle to a resource enumeration. This handle is obtained from ClusterResourceOpenEnum. A valid handle is required. This parameter cannot be NULL.

Return value

ClusterResourceGetEnumCount returns the number of objects associated with the enumeration handle.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

Header

ClusAPI.h

Library

ClusAPI.lib

DLL

ClusAPI.dll

 

 

Show: