A SERVICE OF

logo

www.vmware.com
72
C API Reference Guide
RC1
VixVM_Suspend
Function Signature
VixHandle
VixVM_Suspend(VixHandle vmHandle,
VixVMPowerOpOptions powerOffOptions,
VixEventProc *callbackProc,
void *clientData);
Parameters
Results
VixHandle — A job handle that describes the state of this asynchronous operation.
Notes
This function suspends a virtual machine. It 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, the function returns an error.
vmHandle Identifies a virtual machine. Call VixVM_Open() to create a virtual
machine handle.
powerOffOptions Must be 0.
callbackProc A callback function that will be invoked when the power operation is
complete.
clientData A parameter that will be passed to the callbackProc function.