Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlSrv_GetVmConfig Function
PHT_SERVER

Get VM config by given UUID or name.

Syntax
PRL_HANDLE PrlSrv_GetVmConfig(
    PRL_HANDLE hServer, 
    PRL_CONST_STR sSearchId, 
    PRL_UINT32 nFlags
);
File

PrlApiVm.h

Parameters

sSearchId
VM UUID or name.
nFlags
Search by UUID if nFlags is 0 or PGVC_SEARCH_BY_UUID, by name, if nFlags is PGVC_SEARCH_BY_NAME and search first by uuid, then by name if nFlags is PGVC_SEARCH_BY_UUID | PGVC_SEARCH_BY_NAME. PGVC_FILL_AUTOGENERATED indicates that config should include implicit autogenerated params.
hHandle
A handle of type PHT_SERVER.

Returns

A handle of type PHT_JOB containing the results of operation.

Links
Copyright ©2016-2017 Parallels International GmbH. All rights reserved.