VixError VixSnapshot_GetNumChildren(VixHandle parentSnapshotHandle, int *numChildSnapshots);
This function returns the number of child snapshots of a specified snapshot.
VixHandle parentSnapshot; int numChildren; VixError err; err = VixSnapshot_GetNumChildren(parentSnapshotHandle, &numChildren); printf("the snapshot has %d child snapshots\n", numChildren);