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