Collapse All
Parallels C API Reference Guide
ContentsIndex
PreviousUpNext
PrlOpTypeList_AddItem Function
PrlApi.h  PHT_OPAQUE_TYPE_LIST  Send Feedback

Adds a new item to the container.

Syntax
PRL_RESULT PrlOpTypeList_AddItem(
    PRL_HANDLE hOpTypeList, 
    PRL_CONST_VOID_PTR pnItem
);
File
Parameters

hOpTypeList
A handle of type PHT_OPAQUE_TYPE_LIST identifying the opaque type container.
pnItem
A pointer to the item to add to the container. Note that value passing through pointer in order to prevent loosing of precision (for 64 bit types for example).

Returns

PRL_RESULT. Possible values: 

PRL_ERR_INVALID_ARG - invalid handle or null pointer to value variable was passed. 

PRL_ERR_SUCCESS - function completed successfully. 

Links
Copyright (c) 1999-2009 Parallels Software International Inc.
What do you think about this topic? Send feedback!