Jump to content

WinLoadLibrary: Difference between revisions

From EDM2
m Redirected page to OS2 API:PMI:WinLoadLibrary
Ak120 (talk | contribs)
No edit summary
Line 1: Line 1:
#REDIRECT [[OS2 API:PMI:WinLoadLibrary]]
== 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:

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