Name
GetParent
Description
HRESULT
GetParent([out] ISnapshot** parentSnapshot,
[out,retval] ULONGLONG* error);
This
method
returns the parent of a snapshot.
Parameters
- parentSnapshotHandle
-
(output) A ISnapshot object for the parent of the specified snapshot.
- error
-
The error code returned by the operation.
Return Value
HRESULT
Remarks
- If you pass a root snapshot handle as the first parameter, then this function will
return VIX_OK and set parentSnapshotHandle to VIX_INVALID_HANDLE.
Side Effects
None.
Requirements
VixCOM.h, since VMware Workstation 6.0