Collapse All
Virtuozzo Virtualization SDK C API Reference
ContentsIndex
PreviousUpNext
PrlOpTypeList_GetItem Function
PHT_OPAQUE_TYPE_LIST

Extracts the specified item from the container.

Syntax
PRL_RESULT PrlOpTypeList_GetItem(
    PRL_HANDLE hOpTypeList, 
    PRL_UINT32 nItemIndex, 
    PRL_VOID_PTR pnItem
);
File

PrlApiCore.h

Parameters

hOpTypeList
A handle of type PHT_OPAQUE_TYPE_LIST identifying the opaque type container.
nItemIndex
A numeric index identifying the item (beginning with 0). To determine the number of items in the container, use the PrlOpTypeList_GetItemsCount function.
pnItem
[in] The pointer to the buffer to extract item value.

Returns

PRL_RESULT. Possible values are: 

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

PRL_ERR_SUCCESS - function completed successfully. 

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