Installing an I/O Procedure

To install an I/O procedure, an IOProc entry is added to the MMPMMMIO.INI file. This is accomplished by either writing an INI change control file or writing a program using the mmioIniFileHandler function. The IOProc is installed in the IOProc table ahead of the system-provided storage system IOProcs (DOS, MEM, and CF).

The mmioInstall structure shown in the following example allows you to install an IOProc in the system. The MMPMMMIO.INI file is modified with the latest mmioInstall data when the MINSTALL program is executed.

mmioInstall =
    (
    mmioFourCC        = "fourcc"
    mmioDllName       = "full path"
    mmioDllEntryPoint = "entry name"
    mmioFlags         = "flags"
    mmioExtendLen     = "extend length"
    mmioMediaType     = "media type"
    mmioIOProcType    = "file format"
    mmioDefExt        = "default extension"
    )