Enumerates the volumes on a pool.
#include <ncssdk.h> NCS_RETURN NCS_WhatVolumes ( NCS_HANDLE Handle, NCS_POOL_INFO *pPool);
(IN) Specifies the application’s handle.
(OUT) Points to a pool structure including the virtual server FDN and IP address if found.
You will not know what volumes are in a pool prior to calling NCS_WhatVolumes. One of the fields of the NCS_POOL_INFO input structure receives a list of the volumes returned. You must first use NCS_WherePools to enumerate the pools, then call NCS_WhatVolumes to enumerate the volumes on the pool you’re interested in.
The numVols field must be set and VOLUME_INFO must be large enough to hold numVols number of volumes.