This command allows the caller to change the EOFMODE parameter for the parallel port device. It will disallow changes if any reads or writes are active or queued.
The PARB_EOFMODE bit of io_ParFlags controlls whether the io_PTermArray is to be used as an additional termination criteria for reads and writes. It may be set directly without a call to SetParams, setting it here performs the additional service of copying the PTermArray into the device default array which is used as the initial array for subsequent device opens. The Shared bit can be changed here, and overrides the current device access mode set at
OpenDevice time.