The configuration file must have been opened by PxConfigOpen*() with a mode of PXCONFIG_WRITE.

Normally sections are created as necessary
by the PxConfigWrite*() functions to hold entries, but
sometimes the
mere presence of a configuration section conveys application information. The
new section is made the internal current section.

PxConfigForceEmptySection() writes to the currently open
configuration file opened by PxConfigOpen(), while PxConfigForceEmptySectionCx() writes to the
configuration file indicated by cx.