This API allows you to replace a DLL that is in use. Apparently, this API checks to see whether the DLL named in pszModName is currently being used. If it is not, the API returns with an error. If it is, the O/S loads the entire module into memory, and releases the filesystem's hold on the file. It will then copy the pszReplaceWith file over the pszModName file, and optionally back up pszModName to pszBackupName.
The prototype is APIRET APIENTRY DosReplaceModule(PSZ pszModName, PSZ
pszReplaceWith, PSZ pszBackupName);
Last modified September 21/1996
Please send all errors, comments, and suggestions to: email@example.com
The OS/2 API Project