KillProcessInGuest([in] ULONGLONG pid,
[in] LONG options,
[in] ICallback* jobDoneCallback,
[out,retval] IJob** killJob);
This function terminates a process in the guest operating system.
The ID of the process to be killed.
Must be 0.
An ICallback instance that will be called when the
operation is complete.
Returns an IJob object that describes the state of this asynchronous operation.
- 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.
- Because of differences in how various Operating Systems handle process
IDs, Vix may return either VIX_E_INVALID_ARG or VIX_E_NO_SUCH_PROCESS for
invalid process IDs.
VixCOM.h, since VMware Workstation 6.0
Minimum Supported Guest OS: Microsoft Windows NT Series, Linux