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

Determines the total number of handles in the specified container.

Syntax
PRL_RESULT PrlHndlList_GetItemsCount(
    PRL_HANDLE hHandlesList, 
    PRL_UINT32_PTR pnItemsCount
);
File

PrlApiCore.h

Parameters

hHandlesList
A handle of type PHT_HANDLES_LIST identifying the container.
pnItemsCount
[out] A pointer to a variable that receives the result. Handle count begins with zero.

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. 

Remarks

After determining the count, use the PrlHndlList_GetItem function to retrieve the handle from the container.

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