Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlVmCfg_GetAllDevices Function
PrlApi.h  PHT_VM_CONFIGURATION  Send Feedback

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
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
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!