LabWindows/CVI

Ini_RemoveSection

int Ini_RemoveSection (IniText handle, const char sectionName[]);

Purpose

Removes a section and all of its items from the list of in–memory tag/value pairs.

Parameters

Input
Name Type Description
handle IniText A handle returned from Ini_New. It represents the list of in-memory tag/value pairs.
sectionName const char [] The name of the section to remove.

Return Value

Name Type Description
result int Indicates if the section specified by sectionName was removed from the tag/value pairs specified by handle.

If the section was removed, a 1 is returned.

If the section was not found, a 0 is returned.

Additional Information

Library: Reading/Writing .ini-Style Files

Include file: toolbox\inifile.h

LabWindows/CVI compatibility: LabWindows/CVI 4.0 and later