WinLoadLibrary: Difference between revisions
Appearance
m Redirected page to OS2 API:PMI:WinLoadLibrary |
No edit summary |
||
Line 1: | Line 1: | ||
== WinLoadLibrary == | |||
; WinLoadLibrary(anchorBlockHndl, libraryName) : Makes the named library available. | |||
=== 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 conversion === | |||
[[Cdecl32]] | |||
=== Example Code === | |||
... | |||
[[HLIB]] rc; | |||
[[HAB]] hab; | |||
rc = WinLoadLibrary (hab, "someFile.dll"); | |||
... | |||
=== Related Functions === | |||
[[WinDeleteLibrary]] | |||
[[WinDeleteProcedure]] | |||
[[WinLoadProcedure]] | |||
[[Category:Win]] |
Revision as of 00:35, 7 November 2016
WinLoadLibrary
- WinLoadLibrary(anchorBlockHndl, libraryName)
- Makes the named library available.
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 conversion
Example Code
... HLIB rc; HAB hab; rc = WinLoadLibrary (hab, "someFile.dll"); ...