Does anyone know how to write to an INI file even when its over 64kb, is there a function in the API to do this?

Im current using WritePrivateProfileString and
GetPrivateProfileString

Is that anyway this can be done?