WinLoadLibrary: Difference between revisions
Appearance
WinLoadLibrary moved to OS2 API:WinLoadLibrary |
mNo edit summary |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
Makes the named library available. | |||
==Syntax== | |||
WinLoadLibrary(anchorBlockHndl, libraryName) | |||
== Parameters == | |||
;anchorBlockHndl - [[HAB]] - input : The anchor block handle. | |||
;libraryName - [[PSZ]] - input : The name of the library. | |||
== Constants == | |||
None | |||
== Returns == | |||
This function returns a [[HLIB]] with possible values of: | |||
* [[NULLHANDLE]] | |||
* A valid library handle. | |||
== Module == | |||
PMMERGE | |||
== Define (C/C++) == | |||
INCL_WINLOAD | |||
== Calling Convention == | |||
[[Cdecl32]] | |||
== Example Code == | |||
... | |||
[[HLIB]] rc; | |||
[[HAB]] hab; | |||
rc = WinLoadLibrary (hab, "someFile.dll"); | |||
... | |||
== Related Functions == | |||
[[WinDeleteLibrary]] | |||
[[WinDeleteProcedure]] | |||
[[WinLoadProcedure]] | |||
[[Category:Win]] |
Latest revision as of 05:13, 20 May 2018
Makes the named library available.
Syntax
WinLoadLibrary(anchorBlockHndl, libraryName)
Parameters
- anchorBlockHndl - HAB - input
- The anchor block handle.
- libraryName - PSZ - input
- The name of the library.
Constants
None
Returns
This function returns a HLIB with possible values of:
- NULLHANDLE
- A valid library handle.
Module
PMMERGE
Define (C/C++)
INCL_WINLOAD
Calling Convention
Example Code
... HLIB rc; HAB hab; rc = WinLoadLibrary (hab, "someFile.dll"); ...