Name
VixSnapshot_GetNumChildren
Description
VixError
VixSnapshot_GetNumChildren(VixHandle parentSnapshotHandle,
int *numChildSnapshots);
This
function
returns the number of child snapshots of a specified snapshot.
Parameters
- parentSnapshotHandle
-
A snapshot handle.
- numChildSnapshots
-
(output) The number of child snapshots
belonging to the specified snapshot.
Return Value
VixError
Remarks
- This function is not supported when using the
VIX_SERVICEPROVIDER_VMWARE_PLAYER
host type.
Side Effects
None.
Requirements
vix.h, since VMware Workstation 6.0.
Example
VixHandle parentSnapshot;
int numChildren;
VixError err;
err = VixSnapshot_GetNumChildren(parentSnapshotHandle, &numChildren);
printf("the snapshot has %d child snapshots\n", numChildren);