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

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);

Copyright (C) 2007-2017 VMware, Inc. All rights reserved.