The mmioQueryIOProcModuleHandle function can only provide the handle to the DLL if it was loaded by MMIO from the MMPMMMIO.INI file.