LabWindows/CVI

Ini_NumberOfSections

int Ini_NumberOfSections (IniText handle);

Purpose

Returns the number of sections in the tag/value pair list identified by handle.

Parameters

Input
Name Type Description
handle IniText A handle returned from Ini_New. It represents the list of in-memory tag/value pairs.

Return Value

Name Type Description
numberOfSections int The number of sections in the tag/value pair list identified by handle.

Additional Information

Library: Reading/Writing .ini-Style Files

Include file: toolbox\inifile.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later

Example

Refer to toolbox\ini.cws for an example of using the Ini_NumberOfSections function.