Admin Production ni-theme
Current Publication

HashTableDispose

LabWindows/CVI

HashTableDispose

int HashTableDispose (HashTableType table);

Purpose

Disposes a hash table created by HashTableCreate.

This function returns an error if you pass a table that has already been freed.

Parameters

Input
Name Type Description
table HashTableType Hash table to dispose.

Return Value

Name Type Description
status int Returns a value indicating if the function was successful.

A negative number means an error occurred.

For a detailed error message, pass the returned value to GetGeneralErrorString

Additional Information

Library: Programmer's Toolbox

Include file: toolbox\toolbox.h

LabWindows/CVI compatibility: LabWindows/CVI 8.5 and later

Example

Refer to toolbox\hashtable.cws for an example of using the HashTableDispose function.