# Name

VixDiskLib_Attach

# Description

    VixError
    VixDiskLib_Attach(VixDiskLibHandle parentHandle, VixDiskLibHandle childHandle);

This function attaches the child disk chain to the parent disk chain. The parent disk handle is invalid after attaching. The child handle represents the combined disk chain.

# Parameters

parentDiskHandle
  Handle to the parent virtual disk chain.
childDiskHandle
  Handle to the child virtual disk chain.

# Return Value

VIX_OK if the function succeeded, otherwise an appropriate VIX error code.

# Remarks

- Do not use the parentDiskhandle after the call to VixDiskLib_Attach().

# Example

       vixError = VixDiskLib_Attach(parent.Handle(), child.Handle());

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