# Name

VixSnapshot_GetParent

# Description

    VixError
    VixSnapshot_GetParent(VixHandle snapshotHandle,
                          VixHandle *parentSnapshotHandle);

This function returns the parent of a snapshot.

# Parameters

snapshotHandle
  A snapshot handle.
parentSnapshotHandle
  (output) A handle to the parent of the specified snapshot.

# Return Value

VixError

# 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.
- 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

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