PreviousDTI Programmer's Guide (v10) Next

PvFreeTable()

Chapter contents

Frees memory allocated by a PvGetTable() function call.

Header file: DDF.H
Requires: W3DBAV78.DLL or higher version

Syntax

PRESULT PvFreeTable( 
	TABLEINFO*     tableProps, 
	COLUMNMAP*     columnList, 
	INDEXMAP*      indexList); 

Arguments

In/Out
tableProps
Pointer to a structure containing table information
In/Out
columnList
Pointer to an array of columns defined in the table.
In/Out
indexList
Pointer to an array of segments defined in the table.

Return Values

PCM_Success
The operation was successful.
PCM_errFailed
A general failure occurred

Remarks

This function frees the structures created during a PvGetTable() call.

Example

PRESULT status = 0; 
status = PvFreeTable(mytableProps, MyColumnList 
MyindexList); 

See Also

PvStart()
PvOpenDictionary()
PvGetTableNames()
PvGetTable()
PvFreeTableNames()
PvCloseDictionary()
PvStop()


Chapter contents
Book contents

Prev topic: PvFreeSQLConnectionsData()
Next topic: PvFreeTableNames()