Name

Suspend

Description

HRESULT
Suspend([in] LONG suspendOptions,
        [in] ICallback* jobDoneCallback,
        [out,retval] IJob** suspendJob);

This function suspends a virtual machine.

Parameters

powerOffOptions
Should be 0.
jobDoneCallback
An ICallback instance that will be called when the operation is complete.
suspendJob
Returns an IJob object that describes the state of this asynchronous operation.

Return Value

HRESULT

Remarks

Side Effects

None.

Requirements

VixCOM.h, since VMware Workstation 6.0

Example





Copyright (C) 2007-2011 VMware, Inc. All rights reserved.