Table of Contents

list_CreateItem

Description

Create a variable in a list.

Function prototype

ZVAR CExtAPI::list_CreateItem(ZLIST hList, long VarID, const char* lpVarName);

Arguments

Name Type Comment
hList ZLIST A ZLIST handle, to which an item will be added.
VarID long The VarID of the new item.
lpVarName const char* The name of the new item. If null, the variable is unnamed.

Return value

Null if an error occurred, and a valid ZVAR handle otherwise.

Comments

None.