Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlVm_ToolsSendShutdown Function
PrlApi.h  PHT_VIRTUAL_MACHINE  Send Feedback

Initiates graceful shutdown of the specified virtual machine.

Syntax
PRL_HANDLE PrlVm_ToolsSendShutdown(
    PRL_HANDLE hVm, 
    PRL_GRACEFUL_SHUTDOWN_KIND kind
);
File
Parameters

hVm
A handle of type PHT_VIRTUAL_MACHINE identifying the virtual machine.
kind
Specifies the type of the shutdown.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!