Collapse All
Parallels Virtualization SDK
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.
hHandle
A handle of type PHT_SERVER.

Returns

A handle of type PHT_JOB containing the results of operation.

Links
© 2021 Parallels International GmbH. All rights reserved.