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
- You must call
VM::LoginInGuest()
before calling this function.
- Only absolute paths should be used for files in the guest; the resolution of
relative paths is not specified.
Side Effects
None.
Requirements
VixCOM.h, since VMware Workstation 6.0