Returns the number of pools to be reported.
#include <ncssdk.h> NCS_RETURN NCS_NumPools ( NCS_HANDLE Handle, UINT32 *NumPools);
(IN) Specifies the application’s handle.
(OUT) Points to the number of enabled pools in the cluster.
Call this function to allocate memory NumPools before this function returns with the count of cluster enabled pools.
NOTE:If a cluster resource has a shared pool which hasn’t been cluster enabled, it doesn’t appear in this count.
NCS_NumPools is used to allocate the correct amount of memory for NCS_WherePools call.