IS there an easy way to write a whole section to an ini file?

The code i have is

Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" (ByVal lpApplicationName As String, ByVal lpKeyName As Any, ByVal lpString As Any, ByVal lpFileName As String) As Long

retval = WritePrivateProfileString("ICM", "TransportDriver", "TCP/IP", "C:\_custom\appsrv.ini")

which will write "TransportDriver=TCP/IP" to the 'ICM' section in the ini file...I have about 23 values that I need to add to the 'ICM' section..is there an easy way to write multiple values to the same section in a ini file?

I am only a newbie, so apologies if this is a basic question.