DosLoadResourceModule loads a dynamic link or executable module, and returns a handle for the module.

If the file is an OS/2 dynamic link or executable module, then the module is loaded, and a handle is returned. The returned handle is used for freeing the dynamic link or executable module, getting procedure addresses, and getting the fully qualified file name.

DosLoadResourceModule cannot be issued from ring 2 if the dynamic library routine has an initialization routine, or the process will be terminated.

If the module has an initialization routine that is in an object that has IOPL indicated, any process attempting to use the module will cause a general protection fault, and will be terminated.


[Back: DosLoadResourceModule - Parameters]
[Next: DosLoadResourceModule - Related Functions]