Name
DeleteFileInGuest
Description
HRESULT
DeleteFileInGuest([in] BSTR guestPathName,
[in] ICallback* jobDoneCallback,
[out,retval] IJob** deleteJob);
This function deletes a file in the guest operating system.
Parameters
- guestPathName
-
The path to the file to be deleted.
- jobDoneCallback
-
An ICallback instance that will be called 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