Collapse All
Parallels C API Reference Guide
PrlOpTypeList_GetItem Function
PrlApi.h 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
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 © 1999-2011 Parallels Holdings, Ltd. and its affiliates. All rights reserved.
What do you think about this topic? Send feedback!