Name

Reset

Description

HRESULT
Reset([in] LONG resetOptions,
      [in] ICallback* jobDoneCallback,
      [out,retval] IJob** resetJob);

This function resets a virtual machine, which is the equivalent of pressing the reset button on a physical machine.

Parameters

powerOnOptions
Must be VixCOM.Constants.VIX_VMPOWEROP_NORMAL.
jobDoneCallback
An ICallback instance that will be called when the operation is complete.
resetJob
Returns an IJob object that describes the state of this asynchronous operation.

Return Value

HRESULT

Remarks

This function resets a virtual machine, which is the equivalent of pressing the reset button on a physical machine. The reset is an asynchronous operation, and the job will be signalled when the operation completes. If the virtual machine is not powered on when you call this function, it returns an error.

Side Effects

None.

Requirements

VixCOM.h, since VMware Workstation 6.0
Copyright (C) 2007 VMware, Inc. All rights reserved.