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

Removes the specified item from the container.

Syntax
PRL_RESULT PrlOpTypeList_RemoveItem(
    PRL_HANDLE hOpTypeList, 
    PRL_UINT32 nItemIndex
);
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. Index is a sequential number assigned to every item in the container. To determine the index of an item, call the PrlOpTypeList_GetItem in a loop (from 0 to PrlOpTypeList_GetItemsCount()). The iteration number is the index of the corresponding item.

Returns

PRL_RESULT. Possible values: 

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

PRL_ERR_SUCCESS - function completed successfully. 

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