This is an inbuilt function function provided by PPWIZARD.
Normally files are automatically opened when accessed, however they are opened for read and write, this may cause problems with other applications, if all you need to do is read a file you can open it with this function.
If PPWIZARD does not know how to open the file read only it will not do anything (ie your file will open read/write).
This routine takes these parameters:
You might also wish to have a look at the DieIfIoErrorOccurred() routine.