Sharing an I/O Procedure with Other Applications
[The feature associated with this page, Multimedia File I/O, is a legacy feature. It has been superseded by Source Reader. Source Reader has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader instead of Multimedia File I/O, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
If you want to share an I/O procedure with other applications, you need to write a dynamic-link library (DLL) for your application. You can share the I/O procedure by doing one of the following:
- Include the code for the I/O procedure in the DLL.
- Create a function in the DLL that calls the mmioInstallIOProc function to install the I/O procedure.
- Export this function in the module-definitions file of the DLL.
To use the shared I/O procedure, an application must first call the function in the DLL to install the I/O procedure.