Name
KillProcessInGuest
Description
HRESULT
KillProcessInGuest([in] ULONGLONG pid,
[in] LONG options,
[in] ICallback* jobDoneCallback,
[out,retval] IJob** killJob);
This function terminates a process in the guest operating system.
Parameters
- pid
-
The ID of the process to be killed.
- options
-
Must be 0.
- jobDoneCallback
-
An ICallback instance that will be called when the
operation is complete.
- killJob
-
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.
- Depending on the behavior of the guest operating system, there may be
a short delay after the job completes before the process truly disappears.
Side Effects
None.
Requirements
VixCOM.h, since VMware Workstation 6.0