Admin Production ni-theme
Current Publication

FreeTableValStrings

LabWindows/CVI

FreeTableValStrings

int FreeTableValStrings (char * valueArray[], int count);

Purpose

Frees the memory associated with any strings returned by GetTableCellRangeVals.

Call this function only if the type of the cells in the cell range you passed to GetTableCellRangeVals is VAL_CELL_STRING, VAL_CELL_RING, VAL_CELL_COMBO_BOX, or VAL_CELL_BUTTON.

Parameters

Input
Name Type Description
valueArray char *[] The array containing the pointers you want to free. This array must be the same array you passed to GetTableCellRangeVals.
count int The number of elements in valueArray. This value must match the number of cells in the cell range you passed to GetTableCellRangeVals.

Return Value

Name Type Description
status int Return value indicating whether the function was successful. A negative number indicates that an error occurred.

Additional Information

Library: User Interface Library

Include file: userint.h

LabWindows/CVI compatibility: LabWindows/CVI 5.5 and later