Name

VixVM_DeleteDirectoryInGuest

Description

VixHandle
VixVM_DeleteDirectoryInGuest(VixHandle vmHandle,
                             const char *pathName,
                             int options,
                             VixEventProc *callbackProc,
                             void *clientData);

This function deletes a directory in the guest operating system. Any files or subdirectories in the specified directory will also be deleted.

Parameters

vmHandle
Identifies a virtual machine. Call VixVM_Open() to create a virtual machine handle.
pathName
The path to the directory to be deleted.
options
Must be 0.
callbackProc
A callback function that will be invoked when the operation is complete.
clientData
A parameter that will be passed to the callbackProc function.

Return Value

VixHandle. A job handle that describes the state of this asynchronous operation.

Remarks

Side Effects

None.

Requirements

vix.h, since VMware Workstation 6.0
Minimum Supported Guest OS: Microsoft Windows NT Series, Linux

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