|
Returns table attributes for a given table.
Header file: DDF.HRequires: W3DBAV75.DLL or higher version
PRESULT PvGetTable( WORD dictHandle, LPSTR tableName, TABLEINFO** tableProps, COLUMNMAP** columnList, WORD* columnCount, INDEXMAP** indexList, WORD* indexCount);
|
In
|
dictHandle
|
Handle of an open dictionary returned by PvOpenDictionary().
|
|
In
|
tableName
|
Name of table to retrieve.
|
|
Out
|
tableProps
|
Structure containing table information.
|
|
Out
|
columnList
|
Array of columns defined in the table.
|
|
Out
|
columnCount
|
Number of columns in columnList.
|
|
Out
|
indexList
|
Array of segments defined in the table.
|
You must first open a dictionary successfully using PvOpenDictionary().
TableProps, indexList, and columnList arrays will need to be released using PvFreeTable.
PvStart()
PvOpenDictionary()
PvGetTableNames()
PvFreeTable()
PvFreeTableNames()
PvCloseDictionary()
PvStop()
|
Chapter contents
Prev topic: PvGetStringValueSize()
|