Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlHndlList_GetItem Function
PHT_HANDLES_LIST

Retrieves a handle from the container.

Syntax
PRL_RESULT PrlHndlList_GetItem(
    PRL_HANDLE hHandlesList, 
    PRL_UINT32 nItemIndex, 
    PRL_HANDLE_PTR phItem
);
File

PrlApiCore.h

Parameters

hHandlesList
A handle of type PHT_HANDLES_LIST identifying the container.
nItemIndex
A numeric index of the handle to retrieve (beginning with zero). To get the total number of handles in the container, use the PrlHndlList_GetItemsCount function.
phItem
[out] A pointer to a variable that receives the handle.

Returns

PRL_RESULT. Possible values are: 

PRL_ERR_INVALID_ARG - invalid handle or out of range index value was passed. 

PRL_ERR_SUCCESS - operation completed successfully. 

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