Collapse All
Parallels Virtualization SDK
ContentsIndex
PreviousUpNext
PrlVmCfg_GetAllDevices Function
PHT_VM_CONFIGURATION

Obtains a handles list of all virtual devices in a virtual machine.

Syntax
PRL_RESULT PrlVmCfg_GetAllDevices(
    PRL_HANDLE hVmCfg, 
    PRL_HANDLE_PTR phDevsList
);
File

PrlApiVm.h

Parameters

hVmCfg
A handle of type PHT_VM_CONFIGURATION identifying the virtual machine configuration.
phDevsList
[out] A pointer to a variable that receives the handle. The type of the handles list is PHT_HANDLES_LIST.

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer was passed, or device index out of bound 

PRL_ERR_SUCCESS - function completed successfully. 

PRL_ERR_OUT_OF_MEMORY - not enough memory to create a handle. 

Links
© 2021 Parallels International GmbH. All rights reserved.