DosQueryModuleHandle returns the handle of a dynamic link module that was previously loaded.
The module name must match the name of the module already loaded. Otherwise, an error code is returned. This is a way of testing whether a dynamic link module is already loaded.