Name
Unpause
Description
HRESULT
Unpause(LONG pauseOptions,
IVixHandle* propertyList,
ICallback* jobDoneCallback,
IJob** unpauseJob);
This function continues execution of a paused virtual machine.
Parameters
- options
-
Must be zero.
- propertyList
-
Must be NULL (C++), null (C#), or Nothing (VB).
- jobDoneCallback
-
An ICallback instance that will be called when the
operation is complete.
- unpauseJob
-
Returns an IJob object that describes the state of this
asynchronous operation.
Return Value
HRESULT
Remarks
- This operation continues execution of a virtual machine that was
stopped using Pause.
- Refer to Pause for pause/unpause behavior with different operations.
- This function is not supported when using the
VixCOM.Constants.VIX_SERVICEPROVIDER_VMWARE_PLAYER
host type.
Side Effects
None.
Requirements
VixCOM.h, since VMware Workstation 6.5
Example
VBScript:
Set job = vm.Pause(0, Nothing, Nothing)
' WaitWithoutResults is just like Wait, except it does not get any properties.
err = job.WaitWithoutResults()
QuitIfError(err)
' Do something...
Set job = vm.Unpause(0, Nothing, Nothing)
' WaitWithoutResults is just like Wait, except it does not get any properties.
err = job.WaitWithoutResults()
QuitIfError(err)
Set results = Nothing
Set job = Nothing