EnumSectionGet

This function returns the name of a section. You must first make a call to EnumKeyInit before using this function.

EnumSectionGet (SectionIndex As Long, Section As String) As Long

Parameters

SectionIndex

[in] Index of the section name to retrieve. Index goes from 1 to SectionCount.

Section

[out] Return the name of the section.

Return Value

0: success
1: failed
2: invalid index