Name

DeleteDirectoryInGuest

Description

HRESULT
DeleteDirectoryInGuest([in] BSTR pathName,
                       [in] LONG options,
                       [in] ICallback* jobDoneCallback,
                       [out,retval] IJob** deleteJob);

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

Parameters

pathName
The path to the directory to be deleted.
options
Must be 0.
jobDoneCallback
A callback function that will be invoked when the operation is complete.
deleteJob
Returns an IJob object that describes the state of this asynchronous operation.

Return Value

HRESULT

Remarks

Side Effects

None.

Requirements

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

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