Sys2LocateDLL: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 5: | Line 5: | ||
==Arguments== | ==Arguments== | ||
REXX ARGUMENTS: | ; REXX ARGUMENTS: 1. The name of the DLL to search for. (REQUIRED) | ||
==Return Values== | ==Return Values== | ||
REXX RETURN VALUE: | ; REXX RETURN VALUE: The fully-qualified path of the DLL, if found; "" otherwise. | ||
[[Category:The OS/2 API Project]] | [[Category:The OS/2 API Project]] |
Revision as of 14:52, 16 June 2016
Description
Searches for a DLL by name and returns its fully-qualified path.
If a DLL with the given name is currently loaded, that instance of the DLL will be returned. Otherwise, standard DLL loading rules (according to the current LIBPATH and/or extended LIBPATH configuration) are used to search for a DLL whose module name matches the one specified.
Arguments
- REXX ARGUMENTS
- 1. The name of the DLL to search for. (REQUIRED)
Return Values
- REXX RETURN VALUE
- The fully-qualified path of the DLL, if found; "" otherwise.